# Teleport Config

## Creation

To create a teleport config, find (or create) the *GameName/Resources/GameName/InteractableOptionConfig* folder in the project tab and right click.  Choose *Create > AnyRPG > Interactable > TeleportConfig*.

![](https://2976860065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx7Nd93HqSNPpv2JhrViE%2Fuploads%2FkmBK8Orv71Mdl2vPM53I%2Fimage.png?alt=media\&token=3f0ce2ae-4284-4081-af38-508544626df1)

## Properties

| Name                     | Description                                                                                                                               |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| Location Tag             | The name of a tag to search for in the scene.  If the tag is found, the player will spawn at the location of the GameObject with the tag. |
| Override Spawn Location  | If true, the player will spawn at the Vector3 location in the *Spawn Location* field.                                                     |
| Spawn Location           | The Vector3 location the player will spawn at if the *Override Spawn Location* field is set to true.                                      |
| Override Spawn Direction | If true the player will spawn with their forward direction set to the Vector3 direction in the *Spawn Forward Direction* field.           |
| Spawn Forward Direction  | The Vector3 direction that the player should be facing when they spawn if the *Override Spawn Direction* field is set to true.            |
| Ability Name             | The name of [Teleport Ability](https://docs.anyrpg.org/scriptable-objects/abilities) to cast.                                             |

## Next Steps

* Add a teleport config to an Interactable to allow the player to teleport to another scene by interacting with it.


---

# 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.anyrpg.org/scriptable-objects/interactable-option-configurations/teleport-config.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.
