A repetition component. Repeats an action for the specified amount of times in a single frame.
When executed, For Loop starts a counter on First Index and increments it by the Step until it reaches Last Index.
On Loop output executes on every step, Last Index included. When Last index is reached, For Loop stops and On Completed output is executed.
Execute | Executes the component. |
On Start | Executes the component at the start of the Hype. |
Enabled | Determines if the component is executable. |
First Index | First index of the loop. |
Last Index | Last index of the loop. |
Step | The amount of indexes should this component jump per loop. Default is 1. |
On Loop | Outputs step index on each Step increment. |
On Completed | Outputs value after counter reaches the Last Index. |
Here's a link to the hype that shows how to implement and use the For Loop node: