# CHANGED_SCALE

*LSL constant*

```lsl
integer CHANGED_SCALE = 0x8;
```

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

The prim scale of at least one prim in the linked object has changed. Only the root prim will receive this event.

## Caveats

- Changes in scale for child prims will trigger this event in the root.

## Examples

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

```lsl
default
{
    changed(integer change)
    {
        if (change & CHANGED_SCALE) //note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The prims size has changed.");
        }
    }
}
```

</details>

## Known issues

[SVC-2549](https://jira.secondlife.com/browse/SVC-2549): `changed(CHANGED_SCALE)` is triggered only in root prim instead of rescaled prim.

## See also

### Functions

- [llSetScale](/functions/llSetScale/)
- [llSetPrimitiveParams](https://wiki.secondlife.com/wiki/LlSetPrimitiveParams) — [PRIM_SIZE](/constants/PRIM_SIZE/)
- [llSetLinkPrimitiveParams](https://wiki.secondlife.com/wiki/LlSetLinkPrimitiveParams) — [PRIM_SIZE](/constants/PRIM_SIZE/)

### Events

- [changed](/events/changed/)

---

*Source: [CHANGED SCALE](https://wiki.secondlife.com/wiki/CHANGED_SCALE) on the Second Life Wiki. Content from the Second Life Wiki article CHANGED SCALE (revision 1194604, 2015-01-22), CC BY-SA 3.0.*

---

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