For Loop
Last updated
Last updated
The For Loop Node triggers an iterative process that steps through the provided Int inputs. The output can then, for example, be printed to the Console or affect the next Node in the Logic Branch.
Scope: Project, Scene, Function, Prefab.
Attribute | Type | Description |
---|---|---|
| Int | The starting index. |
| Int | The stopping index. |
| Int | The amount to increase or decrease by. |
| Bool | Notes whether the last index is included or excluded during the iteration. |
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| Int | The starting index. |
| Int | The stopping index. |
| Int | The amount to increase or decrease by. |
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Int | The output index. |
| Pulse | A Pulse that flows to an action, such as a Console message, once the For Loop has ended. |
For loop explanation on Wikipedia.