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

TypeNameDescription
flowIn Enters the loop.
boolcondition Checked before each pass.

Outputs

TypeNameDescription
flowWhile true The loop body.
flowWhen finished Runs once the condition is false.