---
tags:
    - "Loop"
    - "Foreach"
    - "Iteration"
    - "Entry"
    - "Item"
    - "Element"
    - "Image"
    - "Texture"
---

# Loop Item

[Parameters](index.md) / **Loop Item**

<div class="grid cards" markdown>

* :green_circle: Can Read

* :red_circle: Cannot Write

</div>

## Description

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

## Code

```cs
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(IconSprite), ColorTheme.Type.Purple, typeof(BadgeLoop))]

    [Keywords("Loop", "Foreach", "Iteration", "Entry", "Item", "Element", "Image", "Texture")]

    [Serializable]
    public class TypeSpriteLoopParameterItem : TypeSprite
    {
        public override Sprite Get(Args args)
        {
            return ArgsCollectionParameters.GetItem<Sprite>(args);
        }

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

        protected override SubscriptionMode Subscription => SubscriptionMode.None;
    }
}

```

