WowAddons

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

SimpleLineAPI (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

ClearAllPoints

self:ClearAllPoints()

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

GetEndPoint

relativePoint, relativeTo, offsetX, offsetY = self:GetEndPoint()

Returns

relativePointFramePoint
relativeToScriptRegion
offsetXuiUnit
offsetYuiUnit

GetHitRectThickness

thickness = self:GetHitRectThickness()

Returns

thicknessuiUnit

GetStartPoint

relativePoint, relativeTo, offsetX, offsetY = self:GetStartPoint()

Returns

relativePointFramePoint
relativeToScriptRegion
offsetXuiUnit
offsetYuiUnit

GetThickness

thickness = self:GetThickness()

Returns

thicknessuiUnit

SetEndPoint

self:SetEndPoint(relativePoint, relativeTo, [offsetX], [offsetY])

Arguments

relativePointFramePoint
relativeToScriptRegion
offsetXuiUnit default 0
offsetYuiUnit default 0

SetHitRectThickness

self:SetHitRectThickness(thickness)

Arguments

thicknessuiUnit

SetStartPoint

self:SetStartPoint(relativePoint, relativeTo, [offsetX], [offsetY])

Arguments

relativePointFramePoint
relativeToScriptRegion
offsetXuiUnit default 0
offsetYuiUnit default 0

SetThickness

self:SetThickness(thickness)

Arguments

thicknessuiUnit

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