Control Flow
While
Runs a branch over and over for as long as a condition holds.
In
condition
While
While true
When finished
Node image coming soon
Usage
The condition is re-read before every pass. Nothing advances it for you: the body has to change whatever the condition reads, or the loop never ends and hangs the frame it is running on.
Inputs
| Type | Name | Description |
|---|---|---|
| flow | In | Enters the loop. |
| bool | condition | Checked before each pass. |
Outputs
| Type | Name | Description |
|---|---|---|
| flow | While true | The loop body. |
| flow | When finished | Runs once the condition is false. |