The "Wait Until" Block
CreatiCode last edited by
The “wait until” block is a Stack block in the control category.
This block will pause the program until the condition given in the input becomes true. In other words, the blocks attached below this block will not run so long as the condition is false.
If the condition given in the wait until block is already true, then the block will not wait at all.
For example, in the screencast below, the value of “my variable” is greater than 20, so the “wait until” block will not wait, and the “next costume” block below it runs right away.
In this example, the “wait until” block waits for the timer value to reach “10 seconds”, and then switches the backdrop to “Game Over”.