.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the VisualScriptIterator.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.

.. _class_VisualScriptIterator:

VisualScriptIterator
====================

**Inherits:** :ref:`VisualScriptNode<class_visualscriptnode>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`

**Category:** Core

Brief Description
-----------------

Steps through items in a given input.

Description
-----------

This node steps through each item in a given input. Input can be any sequence data type, such as an :ref:`Array<class_array>` or :ref:`String<class_string>`. When each item has been processed, execution passed out the ``exit`` Sequence port.

**Input Ports:**

- Sequence: ``for (elem) in (input)``

- Data (variant): ``input``

**Output Ports:**

- Sequence: ``each``

- Sequence: ``exit``

- Data (variant): ``elem``

