ReferenceScript nodesUtilities › Flow Control
For Loop with Break
Does Loop Body for each whole number from First Index to Last Index, then Completed. Break stops it.
▸For Loop with Break
Loop Body
First Index0Index
Last Index9Completed
Break
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
First Indexfirst | int | 0 | – |
Last Indexlast | int | 9 | – |
Breakbreak | what happens next | – | – |
Outputs
| Pin | Type |
|---|---|
Loop Bodybody | what happens next |
Indexindex | int |
Completeddone | what happens next |
In a graph
◆On Scene Start
▸For Loop with Break
Loop Body
First Index0Index
Last Index9Completed
Break
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.