Continuous While Loop Tile#

A tile that calls the output of another tile when condition is True, repeating this operation continuously until stopped (it can be started again)
Description#
Description
- Calls the output wired to the Do if the Condition is True
- The loop will do the same operation again after the amount of time specified in Delay
- The loop can be started by calling Start Loop
- The loop can be stoped by calling Stop Loop
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'
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
Stop Loop#
Info
- Return
None - Usage
Stops the loop if it was started
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() if STOP is False: schedule(while_loop(Do,Condition,Delay),wait=Delay)