# SIM_STAT_AI_MS

*LSL constant*

```lsl
integer SIM_STAT_AI_MS = 26;
```

Returns the time spent on the AI step.

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

## See also

### Functions

- [llGetSimStats](/functions/llGetSimStats/)

---

*Source: [SIM STAT AI MS](https://wiki.secondlife.com/wiki/SIM_STAT_AI_MS) on the Second Life Wiki. Content from the Second Life Wiki article SIM STAT AI MS (revision 1213081, 2023-01-30), CC BY-SA 3.0.*

---

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