Using the Code Viewer in VEXcode VR

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


How to open the Code Viewer

Code Viewer showing the current VEXcode VR project blocks

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

Code Viewer showing the project’s block code next to the VR Playground

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

Code Viewer displaying the VR robot’s block-based project code

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

Code Viewer showing the VR robot project’s block code

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

Code Viewer showing the project’s block code next to the Playground in VEXcode VR

Add a drive block to the project.

Code Viewer showing the current VEXcode VR project blocks for the virtual robot

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

Code Viewer showing the project’s block code in VEXcode VR

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


How text commands are deleted when blocks are deleted

Code Viewer showing the project’s block code in VEXcode VR

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.

Code Viewer showing the VR robot project’s block code

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: