Waiting and Non-waiting Blocks in VEXcode 123

Non-waiting blocks

Non-waiting blocks have the stack continue even if the block’s behavior is not yet complete.

The [Drive] block is a good example of a non-waiting block. In the example below, the 123 Robot does not move because the [Drive] block begins, but then the [Stop driving] block stops it before the motors can move.

VEXcode 123 blocks project that consists of a When started block, a Drive forward block, and a Stop driving block.

Non-waiting blocks are useful when you want to perform multiple behaviors at the same time.


Waiting blocks

Waiting blocks pause the rest of the stack until that block’s behavior has been completed.

Most waiting blocks are found among the Drivetrain blocks.

If a 123 Robot needs to drive in a 1 step square, you can use waiting blocks to have the 123 Robot carry out each behavior individually.

VEXcode 123 blocks project that drives the robot in a square. The stack consists of a When Started block followed by 4 pairs of alternating Drive forward for 1 step blocks and Turn right for 90 degrees blocks.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: