The "Wait" Block
-
Prerequisite
Description
The “Wait” block is a Stack Block in the Control category.
Seconds, Milliseconds and Frames
The wait block is used to make a Sprite wait for some time before running the next block. Note that 1 second = 60 frames = 1000 milliseconds
Blocks After the Wait Block
The program will pause during the wait, so the blocks after the wait block will not run until the wait is over.
Demo: Animation Using the Wait Block
In this example, we show a few costumes one by one. To make sure the user can view each costume clearly, we can add some “wait 1 second” blocks before we switch to the next costume.