# PRIM_SLICE

*LSL constant*

```lsl
integer PRIM_SLICE = 35;
```

Prim parameter [PRIM_SLICE, vector slice] to get or set the prim's slice values (a shape attribute equivalent to advanced cut).

Constant groups: [PrimParam](/constants/groups/PrimParam/), [PrimParamGet](/constants/groups/PrimParamGet/)

Used to get or set the prim's slice values (a shape attribute, equivalent to `cut`).

## Examples

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

```lsl
//updated findings show the difference can be as small as 0.02 not 0.05 (Tomos.Halsey)
default
{
    state_entry()
    {
        llSetLinkPrimitiveParams(LINK_THIS,[PRIM_SLICE,<0.0,0.02,0.0>]);
    }
}
```

</details>

## See also

### Functions

- [llSetLinkPrimitiveParamsFast](/functions/llSetLinkPrimitiveParamsFast/)
- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/)
- [llGetLinkPrimitiveParams](/functions/llGetLinkPrimitiveParams/)

---

*Source: [PRIM SLICE](https://wiki.secondlife.com/wiki/PRIM_SLICE) on the Second Life Wiki. Content from the Second Life Wiki articles PRIM SLICE (revision 1194693, 2015-01-23) and Template:LSL PrimitiveParam Categorize (revision 1180644, 2013-08-09), CC BY-SA 3.0.*

---

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