Events#

Introduction#

The Events blocks in VEXcode AIR allow for event-driven coding, enabling different parts of a project to run in response to triggers such as project start, received events, or user interactions. Below is a list of available blocks:

when started#

The when started block runs its stack when the project begins. You can have multiple when started blocks to run multiple stacks of blocks at once.

The When started hat block.#
    when started :: hat events

parameter

description

This block has no parameters.

Example

    when started :: hat events
    [Take off at the start of the project.]
    take off to [500] mm ▶

when I receive event#

Documentation Coming Soon

broadcast event#

Documentation Coming Soon

broadcast event and wait#

Documentation Coming Soon