Knowledge Base

Wait For Block

output-onlinepngtools__231_.png spike_robot.jpg This block works for EV3, SPIKE Prime and Ruby Robot!  output-onlinepngtools__101_.png

mceclip0.png

mceclip0.png

The Wait block pauses program execution for a defined time. This block does not affect the robot’s current behavior; it merely pauses the program from executing the next commands until the defined time has passed.

wait_3_sec_ENG.gif

Note: the time entered inside the Wait For block is in milliseconds in most courses. A millisecond is a thousandth of a second.

Some courses have the option for seconds or milliseconds in a dropdown menu:
mceclip0.png

 

Configuration

Parameter Description Compatible Blocks Range
wait for

Defines the duration (milliseconds) for which to pause the continuation of the program execution.

0 to ∞
Was this article helpful?
6 out of 9 found this helpful

Comments

Please sign in to leave a comment.