# Configuring Teleport Scripts

## Teleport local

Teleports any user that collides with the scripted object to a set of given coordinates within the same experience.

To change the destination coordinates:

1. Select the scripted object.
2. Click the **Properties** button on the scripted object to open the Properties panel.
3. Under Script Settings, enter values for **Destination X**, **Destination Y**, and **Destination Z**.
4. De-select the object in order to save the destination values.

| ![teleport\_local.png](https://i3.wp.com/help.sansar.com/hc/article_attachments/115017377586/teleport_local.png) |
| ---------------------------------------------------------------------------------------------------------------- |
| Enter values for Teleport Destination X, Y, and Z.                                                               |

## Teleport remote

Teleports any user that collides with the scripted object to another experience.

To change the destination experience:

1. Select the scripted object.
2. Click the **Properties** button on the scripted object to open the Properties panel.
3. Under Script Settings, enter values for **Dest. Scene** and **Dest. Scene Owner**.
4. De-select the object in order to save the destination values.

You can find an experience's Destination Scene name and Scene Owner by copying and analyzing the destination experience's URL.

* If the destination is listed in the [Atlas](https://help.sansar.com/hc/en-us/articles/223833727-The-Atlas-App), you can obtain its URL by clicking the experience's portrait to see more information, then clicking the **Copy URL** button to copy the experience's URL to your computer's clipboard.
* If the destination experience is one of your projects that is *not* listed in the Atlas, you can access its URL in [My Projects](https://help.sansar.com/hc/en-us/articles/235881567-My-Projects) by clicking **More Options** ![](https://i3.wp.com/help.sansar.com/hc/en-us/article_attachments/218779887/more_icon.png) and then choosing **Copy URL** to copy the experience's URL to your computer's clipboard.

Once you have the destination experience's URL, you can figure out the scene name and owner's Avatar ID. The owner's Avatar ID appears in the URL after "<https://www.sansar.com/worlds/>", and the destination scene name appears after the Avatar ID.

For example, if an experience's URL is: "<https://www.sansar.com/worlds/sansar-studios/social-hub>", the owner's Avatar ID is "sansar-studios", and the destination scene name is "social-hub".

| ![Teleport\_remote.png](https://i3.wp.com/help.sansar.com/hc/article_attachments/115017377566/Teleport_remote.png) |
| ------------------------------------------------------------------------------------------------------------------ |
| Enter a Destination Scene name and the scene owner's Avatar ID.                                                    |

How to add a script to one of your objects

For information about adding a script to an object, see [Uploading and Adding Scripts](https://help.sansar.com/hc/en-us/articles/236232987).

#### Have more questions? Ask in our [Discord!](http://discord.gg/sansarofficial)


---

# 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.sansar.com/latest/creating-in-sansar/working-with-scripts/configuring-teleport-scripts.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.
