Turning Your Robot#
Turning Your Robot
This tutorial walks you through using the turn for block to turn your VEX 123 Robot in VEXcode 123. By the end, you’ll have a project that turns your robot around.
Attach a turn for block below the when started block.
A turn for block connected below when started.#
when started
turn [right v] for (90) degrees
Change the degrees parameter to 180.
Make sure your robot is connected to VEXcode, then select Start to run the project. The robot will turn around to face the opposite direction.