# SimpleMapSceneAPI (widget methods): 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/SimpleMapSceneAPI

## Functions

### GetMaxCharacterSlotCount

```lua
maxCharacterSlotCount = self:GetMaxCharacterSlotCount()
```

Returns:
- `maxCharacterSlotCount`: number

### GetModelDrawLayer

```lua
layer, sublayer = self:GetModelDrawLayer()
```

Returns:
- `layer`: DrawLayer
- `sublayer`: number

### GetViewInsets

```lua
left, right, top, bottom = self:GetViewInsets()
```

Returns:
- `left`: uiUnit
- `right`: uiUnit
- `top`: uiUnit
- `bottom`: uiUnit

### SetModelDrawLayer

```lua
self:SetModelDrawLayer(layer)
```

Arguments:
- `layer`: DrawLayer

### SetViewInsets

```lua
self:SetViewInsets(left, right, top, bottom)
```

Arguments:
- `left`: uiUnit
- `right`: uiUnit
- `top`: uiUnit
- `bottom`: uiUnit

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