Understanding Block Shapes in VEXcode 123

VEXcode 123 has puzzle-piece shaped blocks that connect above or below each other and are used to code. A series of connected blocks is called a stack. There are five different shapes of blocks and each shape tells you about its role in the project.

 

Block Shape Description Block Examples
Hat blocks Start a stack of blocks and are shaped to attach blocks below them. When_started.png hat_block_example_2.jpg
Stack blocks Perform main commands. They are shaped to attach above or below other stack blocks. stack_block_example_1.jpg Stack_example_2.png
Boolean blocks Return a condition as either true or false and fit inside any blocks with hexagonal (six-sided) inputs for other blocks. Button_pressed.png If_button_pressed.png
Reporter blocks Report values in the form of numbers and fit inside any blocks with oval inputs for other blocks. reporter_example_1.jpg Print_hue.png
C blocks Loop the block(s) within them or check if a condition is true or false. They are shaped to attach stack blocks above, below, or inside them. C_block_example_1.jpg If_button_turn_left.png