# AGENT_ATTACHMENTS

*LSL constant*

```lsl
integer AGENT_ATTACHMENTS = 0x2;
```

Used with llGetAgentInfo to determine if the queried avatar has attachments.

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

## Examples

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

```lsl
    // This is a code fragment only
    if (!(llGetAgentInfo(llGetOwner()) & AGENT_ATTACHMENTS))
    {
        llSay(0, "My attachments have fallen off");
    }
```

</details>

## See also

### Functions

- [llGetAgentInfo](/functions/llGetAgentInfo/)

---

*Source: [AGENT ATTACHMENTS](https://wiki.secondlife.com/wiki/AGENT_ATTACHMENTS) on the Second Life Wiki. Content from the Second Life Wiki article AGENT ATTACHMENTS (revision 1213375, 2023-02-11), CC BY-SA 3.0.*

---

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