VEX Coder Card Reference Guide

Coder cards are used with the Coder to code a 123 Robot. Each Coder card represents a command, and when inserted into the Coder, it will instruct the 123 Robot to complete a behavior.

There are seven different categories of Coder cards, and each category is color-coded. The categories are:

  • Motion - The blue Motion cards drive and turn the 123 Robot.
  • Sound - The pink Sound cards control sounds from the 123 Robot.
  • Looks - The purple Looks cards control the color that the indicator light in the center of the 123 Robot will glow.
  • Control - The orange Control cards control the flow of the project and allow the 123 Robot to make decisions.
  • Event - The red Event cards start or stop a 123 project.
  • Action - The green Action cards enact a series of movements and sounds from the 123 Robot.
  • Time - The gray Time cards control a focused amount of time for the 123 Robot to wait until the following action is executed.

Motion

Card Behavior Count per Kit
Diagram illustrating the motion drive system in VEX Robotics, showing components and connections relevant to using the Coder in VEXcode VR. 123 Robot will drive forward for 1 robot length. 4
Diagram illustrating the motion drive system in VEX Robotics, showcasing components and connections relevant to using the Coder in VEXcode VR. 123 Robot will drive forward 2 robot lengths. 1
Diagram illustrating the motion drive system for VEX Robotics, showcasing components and connections used in programming with VEXcode VR, relevant to the 'Using the Coder' section in the VEX Robotics overview. 123 Robot will drive forward 4 robot lengths. 1
Diagram illustrating a left turn motion for VEX Robotics in the context of using the Coder, part of the VEXcode VR Overview. 123 Robot will turn in place 90 degrees to the left. 4
Illustration showing a right turn motion in VEXcode VR, demonstrating the coding command for directing a robot to turn right, part of the VEX Robotics overview. 123 Robot will turn in place 90 degrees to the right. 4
Flowchart illustrating the random motion turn function in VEXcode VR, showing the sequence of actions and decisions for controlling robot movement. 123 Robot will turn right or left a random number of degrees. 1
Diagram illustrating the motion turn around process in VEX Robotics, showcasing the steps involved in programming movements using VEXcode VR, relevant to the 'Using the Coder' section of the VEX Robotics overview. 123 Robot will turn in place 180 degrees to the right from its starting position. 1
Flowchart illustrating the 'Motion Drive Until Object' command in VEXcode VR, showing the sequence of actions for programming a robot to drive until it detects an object. 123 Robot will drive forward until the Eye Sensor detects an object. 1
Diagram illustrating the motion drive behavior in VEXcode VR, showing the robot's path until it encounters an obstacle, relevant to the 'Using the Coder' section in the VEX Robotics overview. 123 Robot will drive forward until it has crashed into an object or wall. 1
Flowchart illustrating the 'Motion Drive Until Line' command in VEXcode VR, showing the sequence of actions for a robot to follow a line using sensors, part of the VEX Robotics overview. 123 Robot will drive until it detects a line on the surface it’s driving on. 1

Sound

Card Behavior Count per Kit
Illustration of a sound play feature in VEXcode VR, depicting a honking sound icon, used in the context of programming with VEX Robotics in the 'Using the Coder' section of the VEX Robotics overview. 123 Robot will play a sound similar to a car horn. 1
Illustration of a doorbell sound play feature in VEXcode VR, showcasing the coding interface for programming sound effects in robotics projects. 123 Robot will play a sound similar to a doorbell chime. 1
Screenshot of VEXcode VR interface showing a sound play crash error message, illustrating an issue encountered while using the Coder feature in VEX Robotics programming. 123 Robot will play a sound similar to a collision. 1
Screenshot of the VEXcode VR interface showing the 'Play Sound' block with options for random sound playback, used in the context of programming with VEX Robotics in the 'Using the Coder' section. 123 Robot will randomly select and play a sound effect. 1

Looks

Card Behavior Count per Kit
Screenshot of VEXcode VR interface displaying the 'Coder' section with a purple glowing effect, illustrating features and tools for programming VEX Robotics. The indicator light in the center of the 123 Robot will glow purple. 1
Image depicting a green glowing indicator on a VEX Robotics device, illustrating functionality in the context of using the Coder within VEXcode VR, part of the VEX Robotics and VEXcode VR Overview. The indicator light in the center of the 123 Robot will glow green. 1
A blue glowing visual representation of the VEX Robotics Coder interface, illustrating key features and functionalities for users in the VEXcode VR overview section. The indicator light in the center of the 123 Robot will glow blue. 1
Illustration of the VEXcode VR interface with a focus on the 'Coder' section, showcasing various coding blocks and tools used for programming VEX Robotics projects. The indicator light in the center of the 123 Robot will not glow a color. 1

Control

Card Behavior Count per Kit
Diagram illustrating the control interface for the VEX Robotics Coder, showcasing various programming blocks and their functions, relevant to the VEXcode VR Overview in the context of using the Coder. Uses the Eye Sensor to check if an object is detected directly in front of it. 1
Flowchart illustrating control logic for programming in VEXcode VR, showing decision points and actions for robot behavior, relevant to the 'Using the Coder' section in the VEX Robotics overview. Uses the Eye Sensor to check if an object is not detected directly in front of it. 1
Red control interface for VEX Robotics and VEXcode VR, illustrating programming options and features in the Coder section. Uses the Eye Sensor to check if the color red is detected. 1
Green control interface for VEX Robotics and VEXcode VR, illustrating the 'Using the Coder' section in the overview of Category 123. Uses the Eye Sensor to check if the color green is detected. 1
VEX Robotics control interface displayed in blue, showcasing various programming options and features for users in the Coder section of the VEXcode VR Overview. Uses the Eye Sensor to check if the color blue is detected. 1
Screenshot of the VEXcode VR interface showing the control options for the Coder, highlighting various programming commands and features available for VEX Robotics projects. Uses the Eye Sensor to check if bright ambient light or a bright object is detected. 1
Screenshot of the VEXcode VR Coder interface, displaying various coding blocks and options for programming VEX Robotics projects, illustrating the tools available for users in the VEX Robotics and VEXcode VR Overview. Uses the Eye Sensor to check if no ambient light or a dark object is detected. 1
Illustration of the control interface for the VEX Robotics Coder, highlighting the right button functionality within VEXcode VR, part of the VEX Robotics overview. Checks if the right button is pressed on the 123 Robot. 1
Illustration of the control interface for the left button in VEXcode VR, showing the button layout and functionality for programming robots. Checks if the left button is pressed on the 123 Robot. 1
Screenshot of the VEXcode VR interface showing the 'Move' button in the Coder section, highlighting its functionality within the VEX Robotics programming environment. Checks if the move button is pressed on the 123 Robot. 1
VEXcode VR interface showing the 'Control If' sound button, used in programming for VEX Robotics, as part of the Coder section in the VEX Robotics overview. Checks that the sound button is pressed on the 123 Robot. 1
Flowchart illustrating steps to control a VEX Robotics system, highlighting potential crash scenarios and troubleshooting methods, as part of the VEXcode VR overview in the Using the Coder section. Checks if the 123 Robot runs into an object. 1
Flowchart illustrating the control structure for programming in VEXcode VR, highlighting the use of conditional statements and loops for robotics programming. Used together with an ‘If’ Coder card. The ‘Else’ Coder card will run Coder cards under the ‘Else’ if the condition of the ‘If’ Coder card is not met. 1
Flowchart diagram illustrating the 'Control End If' block in VEXcode VR, used in programming for robotics. This image is part of the VEX Robotics and VEXcode VR overview, specifically in the 'Using the Coder' section. Ends a sequence of ‘If’ and ‘Else’ Coder cards. 1

Event

Card Behavior Count per Kit
Flowchart illustrating the event-driven programming structure in VEXcode VR, highlighting the 'when started' event and its connections to other programming elements, relevant to the VEX Robotics overview. Starts the project when the ‘Start’ button on the Coder is pressed. 1
Screenshot of the VEXcode VR interface showing the 'Go to Start' event block in the Coder section, illustrating how to program a robot to return to the starting position in VEX Robotics. The Coder will loop back to the ‘When Start 123’ Coder card and continue running the project. 1
Illustration of an event stop block in VEXcode VR, used in programming for VEX Robotics. The block is highlighted to indicate its function in controlling the flow of a program. Stops and ends the project. Any cards following the ‘Stop’ card will not run. 1

Action

Card Behavior Count per Kit
Illustration of a happy VEX robot character, symbolizing positive engagement with VEX Robotics and VEXcode VR, used in the context of the 'Using the Coder' section. 123 Robot turns right 360 degrees and plays a laughing sound to mimic a happy behavior. 1
Illustration of a sad robot face, representing a negative emotion, used in the context of VEX Robotics and VEXcode VR overview, specifically in the section about using the Coder. 123 Robot drives in reverse, turns left then right, plays an ‘uh oh’ sound, and then drives forward to mimic a sad behavior. 1
Illustration of a character performing a crazy action, representing the playful and engaging nature of coding in VEX Robotics and VEXcode VR, as discussed in the 'Using the Coder' section of the VEX Robotics overview. 123 Robot turns left in a circle, and then turns right in a circle, all while playing a ‘loopy’ sound to mimic a crazy behavior. 1

Time

Card Behavior Count per Kit
Flowchart illustrating a 1-second wait time in VEXcode VR programming, part of the VEX Robotics overview section on using the Coder. 123 Robot will wait one second before moving on to the next Coder card in the project. 1
Flowchart illustrating a 2-second wait time in VEXcode VR, used in the context of programming with the Coder, part of the VEX Robotics overview. 123 Robot will wait two seconds before moving on to the next Coder card in the project. 1
Screenshot illustrating a 4-second wait time in VEXcode VR, demonstrating the use of the Coder feature in VEX Robotics programming. 123 Robot will wait four seconds before moving on to the next Coder card in the project. 1

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

Last Updated: