# CHANGED_TEXTURE

*LSL constant*

```lsl
integer CHANGED_TEXTURE = 0x10;
```

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

Prim texture parameters (shine/bump setting, repeats, flip, rotation, or offset) have changed.

Transparency or color changes trigger a [CHANGED_COLOR](/constants/CHANGED_COLOR/) event not a `CHANGED_TEXTURE` event.

## Examples

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

```lsl
default
{
    changed(integer change)
    {
        if (change & CHANGED_TEXTURE) //note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The prims texture or texture attributes have changed.");
        }
    }
}
```

</details>

## Known issues

- [SVC-914](https://jira.secondlife.com/browse/SVC-914): [CHANGED_TEXTURE](/constants/CHANGED_TEXTURE/) is not triggered when texture is changed via script

## See also

### Constants

- [CHANGED_COLOR](/constants/CHANGED_COLOR/)

### Functions

- [llSetTexture](/functions/llSetTexture/)
- [llScaleTexture](/functions/llScaleTexture/)
- [llOffsetTexture](/functions/llOffsetTexture/)
- [llRotateTexture](/functions/llRotateTexture/)
- [llSetPrimitiveParams](https://wiki.secondlife.com/wiki/LlSetPrimitiveParams) — [PRIM_TEXTURE](/constants/PRIM_TEXTURE/)
- [llSetLinkPrimitiveParams](https://wiki.secondlife.com/wiki/LlSetLinkPrimitiveParams) — [PRIM_TEXTURE](/constants/PRIM_TEXTURE/)

### Events

- [changed](/events/changed/)

---

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

---

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