Skip to content

While Loop

Purpose of the Node

The While Loop node allows for looping downstream execution in a script based on a condition. It can iterate a specified number of times or until the condition is no longer met, and it provides outputs for the current iteration index and when the loop terminates.

Pins

Pin NamePin DescriptionPin TypeValue Type
StartTriggers the start of the while loopTrigger PinExecution
ConditionBoolean value that determines whether the loop continuesBooleanNormal
MaxMaximum number of iterations before the loop terminatesIntegerNormal
Downstream ExecutionPropagation of downstream executionDownstream execution propagationExecution
IterCurrent iteration indexCurrent iteration indexInteger
DoneExecutes once the loop terminatesExecuted once the loop terminatesExecution