# Title (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/Title

## Functions

### GetCurrentTitle

```lua
result = GetCurrentTitle()
```

Returns:
- `result`: number

### GetNumTitles

```lua
result = GetNumTitles()
```

Returns:
- `result`: number

### GetTitleName

```lua
titleString, playerTitle = GetTitleName(titleMaskID)
```

Arguments:
- `titleMaskID`: number

Returns:
- `titleString`: string
- `playerTitle`: bool

### IsTitleKnown

```lua
result = IsTitleKnown(titleMaskID)
```

Arguments:
- `titleMaskID`: number

Returns:
- `result`: bool

### SetCurrentTitle

```lua
SetCurrentTitle(titleMaskID)
```

Arguments:
- `titleMaskID`: number

---
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."
