Bloques#

This API Reference Site provides detailed information on how to use the Blocks in VEXcode GO. Here, you will learn how to read and understand each block, with comprehensive descriptions, parameters, and usage examples.

Comprensión de las entradas de bloque#

Cada entrada de bloque en la Referencia de API incluye los siguientes componentes:

  • Nombre e imagen del bloque: este es el nombre del bloque y una imagen del bloque.

  • Descripción: Una breve explicación de lo que hace el bloque.

  • Parameters: A table showing all the available parameters for that block with expanded drop-downs.

  • Example: Provides a demonstration of how to use the block in VEXcode.

Example Block Entry#

drive#

The drive block moves the drivetrain forward or in reverse using the current drive velocity. This block runs continuously until another Drivetrain block interrupts it or the project stops.

aria-description goes here#
unidad [adelante v]

Parameters

Description

direction

The direction in which the robot drives, which can be one of the following:

  • forward
  • reverse

Example

aria-description goes here#
cuando empezó :: hat events
[Drive forward, then stop.]
unidad [adelante v]
esperar (2) segundos
deja de conducir

Bloques en subsecciones#

Some blocks are found in specific subsections that pertain to their particular functionality within a project. For example, blocks that return values or perform actions will be grouped accordingly. Refer to these subsections for detailed information on those blocks.