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.

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

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://atlas.sansar.com/experiences/", and the destination scene name appears after the Avatar ID.

For example, if an experience's URL is: "https://atlas.sansar.com/experiences/jeremy-fbcb/jeremy-s-sandbox", the owner's Avatar ID is "jeremy-fbcb", and the destination scene name is "jeremy-s-sandbox".

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.

Have more questions? Ask in our Discord!

Last updated