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

Screenshot of the VEXcode VR interface showing the starting blocks project, featuring a block-based coding environment designed for learning coding concepts with a virtual robot, suitable for beginners and advanced users in STEM education.

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

Screenshot of the VEXcode VR Code Viewer interface, displaying a block-based coding environment for programming a virtual robot, designed to assist users in learning coding concepts and debugging in a simulated setting.

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

Screenshot of the VEXcode VR code viewer window open, displaying a block-based coding interface for programming a virtual robot, illustrating the coding environment used for educational tutorials in STEM.

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

Screenshot of the VEXcode VR interface showing the 'Convert to Text' feature, illustrating the transition from block-based coding to text-based coding for programming a virtual robot.

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.

Screenshot of a prompt in VEXcode VR asking users to save their project, featuring options to confirm or cancel the action, set against a block-based coding interface.

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).

Screenshot of VEXcode VR's text workspace interface, showcasing a coding environment with text-based programming options for users to create and debug code for a virtual robot, aimed at enhancing STEM education through coding concepts.

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

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

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: