WowAddons

World of Warcraft Forever API · SimpleScrollFrameAPI.md, for your AI

SimpleScrollFrameAPI (widget methods)

9 functions, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an 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. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

GetHorizontalScroll

offset = self:GetHorizontalScroll()

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

Returns

offsetuiUnit

GetHorizontalScrollRange

range = self:GetHorizontalScrollRange()

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

Returns

rangeuiUnit

GetScrollChild

scrollChild = self:GetScrollChild()

Returns

scrollChildSimpleFrame

GetVerticalScroll

offset = self:GetVerticalScroll()

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

Returns

offsetuiUnit

GetVerticalScrollRange

range = self:GetVerticalScrollRange()

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

Returns

rangeuiUnit

SetHorizontalScroll

self:SetHorizontalScroll(offset)

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

Arguments

offsetuiUnit

SetScrollChild

self:SetScrollChild(scrollChild)

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

Arguments

scrollChildSimpleFrame

SetVerticalScroll

self:SetVerticalScroll(offset)

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

Arguments

offsetuiUnit

UpdateScrollChildRect

self:UpdateScrollChildRect()

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows