Get more with VEXcode
We recommend you transition to our new software. VEXcode has both block-based and text-based options, that work on Chromebooks, iPads, Android tablets, Windows and Macs. Visit for more details on how to download VEXcode.
VEX Coding studio has been discontinued and is no longer available for download. Already downloaded? The program will continue to function but will no longer be supported.
Users who transition to VEXcode can migrate their C++/C++ Pro projects to VEXcode Pro V5 by following this article.

This example program shows how to use remote control values to move the robot.



  • A V5 Smart Motor, on Port 1, named leftMotor
  • A V5 Smart Motor, on Port 10, named rightMotor

file-Xy6SsGvUkF.pngHow it works

First, the  when (STARTED) block tells the robot to run this code when the program starts.

Next, the program will enter a  while loop, aligning motor velocity to the percentage values retrieved from the positioning of the joysticks (-100 to +100).

Then the  .spin commands the motors to move along with the velocity specified in the previous commands.

NOTE: The joysticks work in unison to move the robot in tank mode. 

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