# AGENT_AWAY

*LSL constant*

```lsl
integer AGENT_AWAY = 0x40;
```

Used with llGetAgentInfo to determine if the avatar is in 'away' mode, which indicates they toggled away or have been inactive for too long.

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

Indicates that the agent has either toggled away or has been inactive for too long.

## Examples

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

```lsl
    // This is a code fragment only
    if (llGetAgentInfo( llGetOwner() ) & AGENT_AWAY)
        llSay(0, "Hello fairies!");
```

</details>

## See also

### Functions

- [llGetAgentInfo](/functions/llGetAgentInfo/)

---

*Source: [AGENT AWAY](https://wiki.secondlife.com/wiki/AGENT_AWAY) on the Second Life Wiki. Content from the Second Life Wiki article AGENT AWAY (revision 1194585, 2015-01-22), CC BY-SA 3.0.*

---

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