Converting a Blocks Project to Text in VEXcode VR

A VEXcode VR blocks project can easily be converted to a text project.


How to Convert a Blocks Project to Text

Blocks project in VEXcode VR ready to convert to text

Once you have a blocks project created in VEXcode VR, the project can be converted into a text project.

Text version of the blocks project displayed in the Code Viewer in VEXcode VR

Open the Code Viewer by selecting the icon in the top right next to the Devices icon.

Blocks project open in VEXcode VR before switching to text mode

The Code Viewer shows the text version of the blocks project in the workspace.

Convert to Text menu option in VEXcode VR

Once you are ready to convert the blocks project to a text project, select the “Convert to Text Project” button in the bottom right of the Code Viewer.

Save prompt before converting a VEXcode VR project from Blocks to Text

If you have not yet saved your blocks project, a prompt will appear asking if you would like to save your project. Select save to save your project as a .vrblocks file.

For more information about saving a project, see these articles on Loading and Saving a VEXcode VR project (Windows, macOS, Chromebook, iPad, Android).

Converted VEXcode VR project displayed in the text workspace

Once the blocks project is saved, the text workspace will appear with your converted project.

VEXcode VR Blocks workspace with a project open before switching to text code

Once the project is converted, you can continue working on your text project or run the project.

Make sure to save your converted text project. For more information about saving a text project, see these VEX Library articles on Loading and Saving a VEXcode VR project (Windows, macOS, Chromebook, iPad, Android).

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

Last Updated: