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.


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.