While Loop Tile#
A Tile that calls the output of another tile when the condition is True, repeating this operation until the condition becomes False
Description#
Description
Inputs#
Do#
Info
- Type
Accepted types: Any - Usage
Gets called if the 'Condition' is True
Condition#
Info
- Type
Boolean value defaults to FalseAccepted types: Boolean - Usage
Is checked to determine whether or not to call 'Do' and loop again
Delay#
Info
- Type
Numeric value, defaults to 1Accepted types: Integer, Float - Usage
The amount of time in second between each iteration of the loop
Outputs#
Start Loop#
Info
- Return
None - Usage
Starts the loop
Real Signature#
Signature
- A plain language description of the function associated with the tile
def while_loop(Do, Condition, Delay): if Condition is True: Do() schedule(while_loop(Do,Condition,Delay),wait=Delay)