This block will wait for a specified amount of time in seconds, before continuing to run the rest of a coding strip
Wait block can accept input value as a number. Numbers can range from 0 to 9999.
LEGO® Powered UP App coding example: Wait before executing a command
Step 1: Add coding blocks
- Flow block – Start
- Flow block – Wait with an input value of 3
- Sound and light Play from the whistle sound library
Step 2: Run the program. Observe that the whistle sound is played not immediately, but after some time has passed.