Returns the icon texture for an action. Can be the icon of a spell or item, the icon manually set for a macro, or an icon reflecting the current state of a macro.
See also Action functions.
Signature:
texture
=
GetActionTexture(slot)
Arguments:
slot
- An action bar slot (number
, actionID)
Returns:
texture
- Path to an icon texture for the action in the slot, or nil if the slot is empty (string
)