WowAddons

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

FrameAPINamePlate (widget methods)

6 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

CanChangeHitTestPoints

canChangeHitTestPoints = self:CanChangeHitTestPoints()

Returns true if this nameplate permits changes to its hit-test points. Updates are normally blocked for tainted code during combat, except on the tick a unit is first assigned or when untainted code updates hit-test points on the same tick.

Returns

canChangeHitTestPointsbool

ClearAllHitTestPoints

self:ClearAllHitTestPoints()

Clears the anchor points that determine where the mouse interacts with the nameplate.

GetHitTestPoints

anchors = self:GetHitTestPoints()

Returns the anchor points that determine where the mouse interacts with the nameplate.

Returns

anchorsAnchorBinding[]

SetAllHitTestPoints

self:SetAllHitTestPoints(relativeTo)

Sets the anchor points that determine where the mouse interacts with the nameplate to fully encompass the target region.

Arguments

relativeToScriptRegion

SetHitTestPoints

self:SetHitTestPoints(anchors)

Sets the anchor points that determine where the mouse interacts with the nameplate.

Arguments

anchorsAnchorBinding[]List of anchor points to use for hit testing. All existing points will be cleared.

SetStackingBoundsFrame

self:SetStackingBoundsFrame(frame)

Arguments

frameSimpleFrame

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