Understanding Block Shapes and Meaning in VEXcode VR

Blocks in VEXcode VR are 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 Shape Description Block Examples
Hat blocks Start a stack of blocks and are shaped to attach blocks below them. Screenshot of VEXcode VR tutorial interface, showcasing block-based and text-based coding options for programming a virtual robot, designed to support STEM education and coding concepts for students and educators.
Stack blocks Perform main commands. They are shaped to attach above or below other stack blocks. VEXcode VR tutorial image showing a virtual robot with its pen down, illustrating coding concepts in a simulated environment for STEM education. Diagram of a VEXcode VR drivetrain stack, illustrating the components and structure of a virtual robot's drivetrain, used in tutorials for teaching coding and robotics principles in an educational context.
Boolean blocks Return a condition as either true or false and fits inside any blocks with hexagonal (six-sided) inputs for other blocks. Image of a VEXcode VR bumper button being pressed, illustrating user interaction within the virtual programming environment for coding and robotics education. Screenshot of VEXcode VR tutorial showing a virtual robot with a highlighted bumper, indicating the action to wait until the bumper is pressed during programming.
Reporter blocks Report values in the form of numbers and fits inside any blocks with oval inputs for other blocks. Diagram illustrating the concept of distance in VEXcode VR, featuring a virtual robot and a grid background, used to teach coding and robotics principles in an educational context. Diagram illustrating the concept of round distance in VEXcode VR, showcasing the relationship between distance, speed, and time for programming virtual robots in educational settings.
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. Repeat If_bumper

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

Last Updated: