Using the Code Viewer - Tutorials - VR Blocks

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.comThe platform defaults to the Blocks interface.

chrome_dx5mDPpevZ.png

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

chrome_PI9gLL2352.png

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

chrome_Fhglxlmkx2.png

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

chrome_ioJsj3WCvJ.png

How text commands are added when blocks are added

Add a drive block to the project.

chrome_4LVE9vmOwT.png

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

chrome_mri70NE75m.png

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

chrome_jfYVi6hrIi.png

How text commands are deleted when blocks are deleted

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

chrome_kWJm75WLh9.png

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.

chrome_xnEBNvmjV5.png