GetActionText

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns the label text for an action.

text = GetActionText(actionSlot)

Arguments

actionSlot - ActionSlot
The queried slot.

Returns

actionSlot - ActionSlot
The queried slot.
text - String
  • The action's text, if present. Macro actions use their names for their action text.
  • nil, if the slot has no action text, or is empty. Most standard WoW action icons don't have action text.