> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Vehicle Actions

> Control mounting, dismounting, and vehicle interactions.

Manage entity mounting mechanics.

## Configuration

### `mount_vehicle_action`

Spawns an entity and forces the player to mount it.

<ResponseField name="type" type="EntityType" default="HORSE">
  The entity type to ride (e.g., `PIG`, `MINECART`, `BOAT`).
</ResponseField>

### `dismount_action`

Forces the player to dismount their current vehicle.
<Info>No configuration needed.</Info>

### `eject_vehicle_action`

If the player is the vehicle, ejects any passengers riding THEM.
<Info>No configuration needed.</Info>

## Example Usage

<CodeGroup>
  ```yaml Ride Pig theme={null}
  mount_vehicle_action:
    type: PIG
  ```
</CodeGroup>
