Using the Code Viewer in VEXcode VR

Using the Code Viewer in VEXcode VR is easy and helpful.


How to open the Code Viewer

Screenshot of VEXcode VR tutorial interface, showcasing the block-based coding environment for programming a virtual robot, designed for educational purposes in STEM learning.

To launch VEXcode VR, go to vr.vex.comThe platform defaults to the Blocks interface.

Screenshot of the VEXcode VR programming interface, showcasing a block-based coding environment with various coding blocks and a virtual robot, designed for teaching coding concepts and robotics principles in educational settings.

Select the Code Viewer icon to open the Code Viewer window.

Screenshot of VEXcode VR interface showcasing a block-based coding environment for programming a virtual robot, highlighting features for beginners and advanced users in a tutorial context.

The Code Viewer window displays the Python version of the Blocks project.

Screenshot of VEXcode VR interface showing a block-based coding environment for programming a virtual robot, illustrating the tutorial section for users learning coding concepts.

Hide the Code Viewer window when finished by selecting the right arrow next to the Help icon.


How text commands are added when blocks are added

Screenshot of VEXcode VR interface showcasing the block-based coding environment, designed for teaching coding concepts through virtual robotics, highlighting features for both beginners and advanced users.

Add a drive block to the project.

Screenshot of VEXcode VR interface showing a block-based coding environment for programming a virtual robot, illustrating features for beginners and advanced users in a tutorial context.

Select the Code Viewer icon to open the Code Viewer window.

Screenshot of VEXcode VR interface showing a block-based coding environment with various programming blocks, designed for teaching coding concepts through virtual robotics.

Notice that the print command will also be added to the Command Viewer window.


How text commands are deleted when blocks are deleted

Screenshot of VEXcode VR interface showing a block-based coding environment for programming a virtual robot, illustrating features for beginners and advanced users in a tutorial context.

Delete the [Print] block from the VEXcode VR project.

Note: for more information on how to delete a block, view the Delete a Block article from the VEX Library.

Screenshot of VEXcode VR interface showing a block-based coding environment for programming a virtual robot, illustrating features for beginners and advanced users in a tutorial context.

Notice that the print command will also be deleted from the Command Viewer window.

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

Last Updated: