> ## 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.

# Travel Objectives

> Quest objectives for exploration and travel.

Track how far a player travels using various methods.

## Configuration

### `travel_distance_objective`

Tracks distance traveled in blocks.

<ResponseField name="amount" type="Int">
  Distance required (in blocks).
</ResponseField>

<ResponseField name="travelType" type="TravelType">
  Method of travel.

  * `WALK`, `SWIM`, `FLY`, `BOAT`, `HORSE`, `PIG`, `MINECART`, `ANY`.
</ResponseField>

<ResponseField name="onComplete" type="TriggerableEntry">
  Action sequence on completion.
</ResponseField>

## Example

<CodeGroup>
  ```yaml Marathon Runner theme={null}
  travel_distance_objective:
    amount: 42000
    travelType: WALK
    onComplete:
      - message_action:
          message: "<gold>You ran a marathon!"
  ```
</CodeGroup>
