# PRIM_TYPE

*LSL constant*

```lsl
integer PRIM_TYPE = 9;
```

Prim parameter used to get or set the geometric shape type (PRIM_TYPE_*) and its associated parameters.

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

Gets or sets the `type_flag` of the prim and associated type `type_parameters`.

## See also

### Constants

| Constant | Type | Value | Description |
| --- | --- | --- | --- |
| [CHANGED_SHAPE](/constants/CHANGED_SHAPE/) |  |  |  |

### Functions

- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/)

### Events

- [changed](/events/changed/)

---

*Source: [PRIM TYPE](https://wiki.secondlife.com/wiki/PRIM_TYPE) on the Second Life Wiki. Content from the Second Life Wiki articles PRIM TYPE (revision 1186427, 2014-01-05) and Template:LSL PrimitiveParam Categorize (revision 1180644, 2013-08-09), CC BY-SA 3.0.*

---

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