Macro#

Introduction#

The VEX AIR Coding Robot includes prebuilt actions, or macros, that combine multiple behaviors into a single block. These macros allow the robot to perform complex tasks such as moving toward objects, detecting objects, and acting out emotions. Below is a list of all available blocks:

turn#

The turn block

move forward stack block#
    turn [right v] until facing [tag v] [0]

Parameters

Description

*Example

Example coming soon!

move above#

The move above block

move forward stack block#
    move above [tag v] [0]

Parameters

Description

Example

Example coming soon!

get object#

The get object block

move forward stack block#
    get object near [tag v]

Parameters

Description

Example

Example coming soon!

land on#

The land on block

move forward stack block#
    land on [tag v] [0]

Parameters

Description

Example

Example coming soon!