# AGENT_ON_OBJECT

*LSL constant*

```lsl
integer AGENT_ON_OBJECT = 0x20;
```

Used with llGetAgentInfo to determine if the avatar is sitting on an object and linked to it.

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

## See also

### Functions

- [llGetAgentInfo](/functions/llGetAgentInfo/)

---

*Source: [AGENT ON OBJECT](https://wiki.secondlife.com/wiki/AGENT_ON_OBJECT) on the Second Life Wiki. Content from the Second Life Wiki article AGENT ON OBJECT (revision 85342, 2008-08-12), CC BY-SA 3.0.*

---

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