Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

Loop Item#

Parameters / Loop Item

  • Can Read

  • Cannot Write

Description#

The entry of the collection being processed by the current iteration cycle

Code#

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Get]

    [ScopeByParameter(ArgsCollectionParameters.PARAMETER_COLLECTION_ITEM)]

    [Title("Loop Item")]
    [Category("Parameters/Loop Item")]

    [Description("The entry of the collection being processed by the current iteration cycle")]
    [Image(typeof(IconQuaternion), ColorTheme.Type.Lime, typeof(BadgeLoop))]

    [Keywords("Loop", "Foreach", "Iteration", "Entry", "Item", "Element", "Rotation", "Euler")]

    [Serializable]
    public class TypeQuaternionLoopParameterItem : TypeQuaternion
    {
        public override Quaternion Get(Args args)
        {
            return ArgsCollectionParameters.GetItem<Quaternion>(args);
        }

        public override string ToString()
        {
            return "Loop Item";
        }

        protected override SubscriptionMode Subscription => SubscriptionMode.None;
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.