What are Wait Blocks?
If you are a beginner and you want to use sensors, the Wait Blocks are the place to begin. Using Wait blocks we can stop a program for a period of time, or keep a program going until a variable has been satisfied. This block lets your robot sense its environment for a certain condition before it continues. Use the slider or type in a value to set a trigger point so that the program continues when your sensor reads values that are below or above the trigger point. The page will cover various types of Wait Blocks including:
- Touch Sensor
- Sound Sensor
- Light Sensor
- Ultrasonic Sensor
- NXT Buttons
- Rotation Sensor
- Timer
- Receive Message
Touch Sensor Wait Block

Use a Touch Sensor Wait Block to program your robot to "wait" for a Touch Sensor to be bumped, pressed, or released before going on the next block in your program. An example of this:
- A robot is driving forward on infinite.
- The robot stops when its Touch Sensor is pressed against an object.
Sound Sensor Wait Block

Use a Sound Sensor Wait Block to program your robot to "wait" for a Sound Sensor to detect a certain intensity or sound before going on to the next block in your program. An example of this:
- A robot is driving forward on infinite.
- The robot stops when its Sound Sensor detects an intensity of sound.