Using the Code Viewer in VEXcode VR is easy and helpful.
The following article will cover:
- How to open the Code Viewer
- How text commands are added when blocks are added
- How text commands are deleted when blocks are deleted
How to open the Code Viewer
To launch VEXcode VR, go to vr.vex.com. The platform defaults to the Blocks interface.

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

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

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
Add a drive block to the project.

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

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

How text commands are deleted when blocks are deleted
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 Knowledge Base.
Notice that the print command will also be deleted from the Command Viewer window.
