NodesOperation
While Loop
Slot Usage: 0
Overview
While Loop keeps iterating until break logic resolves to exit.
Use this when loop length is controlled by runtime state rather than a fixed count.
Input
Loop Delay
integerDelay between iterations in milliseconds.
Range: 0 to 10000
Runtime behavior:
- Negative values are corrected to
0. - Delay is applied when returning from
Endinput to next loop cycle.
Break Loop
booleanPrimary break flag evaluated each run.
Default behavior (Invert Break Condition = false):
false-> continue looptrue-> exit loop
Invert Break Condition
booleanInverts the evaluated break flag before routing decision.
Implementation detail:
- Effective break state becomes
NOT(Break Loop). - With inversion enabled:
Break Loop = falsecauses exitBreak Loop = truekeeps loop running
This follows current C++ logic in shouldBreakLoop().
Output
Current Loop Index
integerZero-based loop cycle index.
Loop Flow Behavior
Start path (loopStart)
Used when loop continues.
Normal output (default handle)
Used when loop breaks.
End input (loopEnd)
Connect loop body end to this handle to evaluate next iteration.
Runtime notes
- First entry resets index to
0. - Return via
loopEndincrements index and re-evaluates break state. - Break-related flags are re-read dynamically each cycle.