VisualScriptIterator

Inherits: VisualScriptNode < Resource < Reference < 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 Array or 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

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_visualscriptiterator.html