# ALL_SIDES

*LSL constant*

```lsl
integer ALL_SIDES = -1;
```

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

Selects all sides of an object in an applicable function.

## Examples

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

```lsl
default
{
    state_entry()
    {
        string texture = llGetInventoryName(INVENTORY_TEXTURE, 0);
        llSetTexture(texture, ALL_SIDES);
    }
}
```

</details>

## See also

### Functions

- [llGetAlpha](/functions/llGetAlpha/)
- [llGetColor](/functions/llGetColor/)
- [llGetNumberOfSides](/functions/llGetNumberOfSides/)
- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/)
- [llGetTexture](/functions/llGetTexture/)
- [llGetTextureOffset](/functions/llGetTextureOffset/)
- [llGetTextureRot](/functions/llGetTextureRot/)
- [llGetTextureScale](/functions/llGetTextureScale/)
- [llOffsetTexture](/functions/llOffsetTexture/)
- [llRotateTexture](/functions/llRotateTexture/)
- [llScaleTexture](/functions/llScaleTexture/)
- [llSetAlpha](/functions/llSetAlpha/)
- [llSetColor](/functions/llSetColor/)
- [llSetLinkAlpha](/functions/llSetLinkAlpha/)
- [llSetLinkColor](/functions/llSetLinkColor/)
- [llSetLinkTexture](/functions/llSetLinkTexture/)
- [llSetTexture](/functions/llSetTexture/)
- [llSetTextureAnim](/functions/llSetTextureAnim/)

---

*Source: [ALL SIDES](https://wiki.secondlife.com/wiki/ALL_SIDES) on the Second Life Wiki. Content from the Second Life Wiki article ALL SIDES (revision 1215195, 2023-10-28), CC BY-SA 3.0.*

---

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