WoW API < IsAttackAction

Determine whether action slot is an attack action.

isAttack = IsAttackAction(actionSlot)

Parameters[edit | edit source]

Arguments[edit | edit source]

Numeric - The action slot to test.

Returns[edit | edit source]

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.

Community content is available under CC-BY-SA unless otherwise noted.