# CHANGED_TELEPORT

*LSL constant*

```lsl
integer CHANGED_TELEPORT = 0x200;
```

Constant groups: [ChangeType](/constants/groups/ChangeType/)

The avatar this object is attached to has teleported. This event only occurs in the root prim of an attachment when the user has teleported. This event does not occur in child prims of attachments, nor does it occur due to a "sit teleport". If the user teleports into a parcel where their scripts are disabled then the `CHANGED_TELEPORT` event is queued and occurs after the user moves to a script-enabled parcel.

## Examples

<details open>
<summary>Example 1</summary>

```lsl
default
{
    changed(integer change)
    {
        if (change & CHANGED_TELEPORT) //note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The object has been teleported while attached.");
        }
    }
}
```

</details>

## See also

### Functions

- [llTeleportAgentHome](/functions/llTeleportAgentHome/)

### Events

- [changed](/events/changed/)

---

*Source: [CHANGED TELEPORT](https://wiki.secondlife.com/wiki/CHANGED_TELEPORT) on the Second Life Wiki. Content from the Second Life Wiki article CHANGED TELEPORT (revision 1214147, 2023-06-20), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/CHANGED_TELEPORT/
