Welcome to the API Reference Site for VEX AIM#
Discover everything you need to start coding with VEXcode AIM, using Blocks and Python. This guide will help you navigate the site and make the most of the available resources.
This API information applies when using either:
VEXcode by VEX Robotics
Visual Studio Code by Microsoft with the VEX Visual Studio Code Extension
How to Use the API Reference#
Choose Your Language: Decide whether you want to use Blocks or Python for your project.
Browse or Search: Use the navigation menu or search bar to locate specific commands or blocks.
Read the Descriptions: Each block or method includes a description that explains its purpose, parameters, and any important notes.
Review the Examples:
Blocks: Visual examples of blocks will help you understand how to use them in your projects.
when started, move forward for 200 mm stack block#when started :: hat events [Move forward for 200 mm] move [forward v] for (200) [mm v] ▶
Python: Code snippets show how to write commands in VEXcode AIM, with comments to explain the example project:
# Move right, then move forward. robot.move_for(50, 90) robot.move_for(100, 0)
Experiment and Modify: Try out the example code in your projects. Modify it to fit your needs and observe the effects.
Tips for Success#
Start Simple: Begin with basic projects to get comfortable with VEXcode.
Read the API Reference: Explore the API reference to understand the available functions and their operations.
Practice Regularly: The more you code, the more proficient you’ll become with the platform.
Happy coding, and welcome to VEXcode AIM!