Files
godot-docs/classes/class_visualscriptiterator.rst
Rémi Verschelde 2b4319bc29 Sync classref with current source
Changes order of brief/long descriptions and removes category
as per godotengine/godot#35132.
2020-01-15 00:51:47 +01:00

35 lines
974 B
ReStructuredText

:github_url: hide
.. 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>`
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``