# ENV_INVALID_AGENT

*LSL constant*

```lsl
integer ENV_INVALID_AGENT = -4;
```

Unable to find the specified agent, or could not find an agent with the specified ID.

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

:::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/ENV_INVALID_AGENT/
