# Travel Data Block

![Travel Data Block](/files/-LOI2WJFtB4YVVEsalUG)

The travel data block returns a new travel data object.

| Name        | Usage                                                              | Type   | Extra                                                             |
| ----------- | ------------------------------------------------------------------ | ------ | ----------------------------------------------------------------- |
| Travel To   | The ID of the location the travel applies to                       | Text   |                                                                   |
| Travel Time | The amount of time it takes for the user to travel to the location | Number | Defined in seconds                                                |
| Travel Type | The type of travel it takes to get to the location                 | Text   |                                                                   |
| Travel Fee  | The cost of travelling to the location                             | Number | Requires the `Travel Type` to not be set as `Default` to function |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.discorddungeons.me/quest-editor/locations-blocks/traveldata.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
