# OBJECT_LINK_NUMBER

*LSL constant*

```lsl
integer OBJECT_LINK_NUMBER = 46;
```

Flag used with llGetObjectDetails to get the index of the prim within its linkset, or 0 if unlinked.

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

:::note[Documentation]
This entry is documented in the LSL definitions. No matching wiki article is present in this local collection. Its inclusion here does not establish availability on every simulator.
:::

---

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