# PRIM_POSITION

*LSL constant*

```lsl
integer PRIM_POSITION = 6;
```

Prim parameter [PRIM_POSITION, vector position] to get or set the position of the prim in region coordinates (or local coordinates depending on the script context).

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

`PRIM_POSITION` is used to get or set the prim's position.

## See also

### Constants

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

### Functions

- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/)
- [llGetPos](/functions/llGetPos/)
- [llSetPos](/functions/llSetPos/)
- [llGetLocalPos](/functions/llGetLocalPos/)
- [llGetRootPosition](/functions/llGetRootPosition/)
- [llGetObjectDetails](/functions/llGetObjectDetails/)

### Articles

- [warpPos](https://wiki.secondlife.com/wiki/warpPos)

---

*Source: [PRIM POSITION](https://wiki.secondlife.com/wiki/PRIM_POSITION) on the Second Life Wiki. Content from the Second Life Wiki articles PRIM POSITION (revision 1218849, 2026-05-19) and Template:LSL PrimitiveParam Categorize (revision 1180644, 2013-08-09), CC BY-SA 3.0.*

---

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