Skip to main content


Using Python with VEXcode VR requires a VR Enhanced or Premium license. Make sure you are logged in with your class code and that the VR Logo in the top left corner is grey or gold. 

In the Wall Maze Challenge, you will use VEXcode VR Python to navigate the VR Robot through the Wall Maze Playground from start to finish. You will learn how to use the Bumper Sensor and the while loop to solve the Wall Maze Challenge.

The Wall Maze Problem

Coding the VR Robot to navigate to locations within the Wall Maze can be done in a number of ways. However, without knowing the exact distances or dimensions of the maze, using commands like drive_for can be tricky. Luckily, there are tools on the VR Robot, and in our code to help us solve the maze problem. You will learn about those tools in this Unit, beginning with the Bumper Sensor in the next Lesson.