# Threat (global functions): World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/Threat

## Functions

### GetThreatStatusColor

```lua
colorR, colorG, colorB = GetThreatStatusColor(gameErrorIndex)
```

Arguments:
- `gameErrorIndex`: number

Returns:
- `colorR`: number
- `colorG`: number
- `colorB`: number

### IsThreatWarningEnabled

```lua
result = IsThreatWarningEnabled()
```

Returns:
- `result`: bool

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
