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

.. _class_VisualScriptSequence:

VisualScriptSequence
====================

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

**Category:** Core

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

Executes a series of Sequence ports.

Member Variables
----------------

  .. _class_VisualScriptSequence_steps:

- :ref:`int<class_int>` **steps** - The number of steps in the sequence.


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

Steps through a series of one or more output Sequence ports. The ``current`` data port outputs the currently executing item.

**Input Ports:**

- Sequence: ``in order``

**Output Ports:**

- Sequence: ``1``

- Sequence: ``2 - n`` (optional)

- Data (int): ``current``

