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

## Functions

### GetHorizontalScroll

```lua
offset = self:GetHorizontalScroll()
```

Its returns can be secret values (in some instances and fights): guard them before any arithmetic.

Returns:
- `offset`: uiUnit

### GetHorizontalScrollRange

```lua
range = self:GetHorizontalScrollRange()
```

Its returns can be secret values (in some instances and fights): guard them before any arithmetic.

Returns:
- `range`: uiUnit

### GetScrollChild

```lua
scrollChild = self:GetScrollChild()
```

Returns:
- `scrollChild`: SimpleFrame

### GetVerticalScroll

```lua
offset = self:GetVerticalScroll()
```

Its returns can be secret values (in some instances and fights): guard them before any arithmetic.

Returns:
- `offset`: uiUnit

### GetVerticalScrollRange

```lua
range = self:GetVerticalScrollRange()
```

Its returns can be secret values (in some instances and fights): guard them before any arithmetic.

Returns:
- `range`: uiUnit

### SetHorizontalScroll

```lua
self:SetHorizontalScroll(offset)
```

Protected: only Blizzard's own code may call it.

Arguments:
- `offset`: uiUnit

### SetScrollChild

```lua
self:SetScrollChild(scrollChild)
```

Protected: only Blizzard's own code may call it.

Arguments:
- `scrollChild`: SimpleFrame

### SetVerticalScroll

```lua
self:SetVerticalScroll(offset)
```

Protected: only Blizzard's own code may call it.

Arguments:
- `offset`: uiUnit

### UpdateScrollChildRect

```lua
self:UpdateScrollChildRect()
```

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