Motion
Get Motion

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.

Inputs

PinTypeStarts atNotes
inwhat happens next––
First Indexfirstint0–
Last Indexlastint9–
Breakbreakwhat happens next––

Outputs

PinType
Loop Bodybodywhat happens next
Indexindexint
Completeddonewhat happens next

In a graph

The node with what starts it and Print to show what it gives, as Studio draws them.