WoW API: IsAttackAction

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API IsAttackAction to API IsAttackAction without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < IsAttackAction

Determine whether action slot is an attack action.

isAttack = IsAttackAction(actionSlot)

Parameters[edit]

Arguments[edit]

actionSlot
Numeric - The action slot to test.

Returns[edit]

isAttack
Flag - nil if the specified slot is not an attack action, or is empty. 1 if the slot is an attack action and should flash red during combat.