Understanding Block Shapes and Meaning in VEXcode V5

VEXcode V5 has puzzle-piece shaped blocks that connect above or below each other and are used to program. 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 ShapeDescriptionBlock Examples
Hat blocksStart a stack of blocks and are shaped to attach blocks below them.
VEXcode V5 When started hat block.
VEXcode V5 When brain button hat block with a Print stack block attached below it.
Stack blocksPerform main commands. They are shaped to attach above or below other stack blocks.
VEXcode V5 Print stack block.
Two VEXcode V5 Spin blocks attached together in a stack.
Boolean blocksReturn a condition as either true or false and fits inside any blocks with hexagonal (six-sided) inputs for other blocks.
VEXcode V5 Screen pressed boolean block.
VEXcode V5 Wait until stack block that has a Pressing bumper block in its boolean parameter slot.
Reporter blocksReport values in the form of numbers and fits inside any blocks with oval inputs for other blocks.
VEXcode V5 Battery level reporter block.
VEXcode V5 Round reporter block that contains an Angle of heading reporter block in its math parameter slot.
C blocksLoop the block(s) within them or checks if a condition is true or false. They are shaped to attach stack blocks above, below, or inside them.
VEXcode V5 Forever C block.
VEXcode V5 If C block that has a Pressing bumper block in its boolean parameter slot. Inside of the If block there is a Set LED stack block.

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

Last Updated: