Skip to main content

Introduction

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 this Unit, you will solve the Draw a House Challenge. You will learn how to utilize the Pen tool on the VR Robot to draw different shapes on the Art Canvas Playground. You will also learn how to use loops in VEXcode VR Python to repeat a set of behaviors multiple times, such as drawing the sides of a square. In the video below, the VR Robot uses the Pen to draw a house on the Art Canvas Playground, by first drawing a square, and then adding angled lines for the roof.

Video file