Returns if the pet action button is the pet attack command


See also Pet functions, Action functions.

Signature:

isAttack = IsPetAttackAction(index)

Arguments:

  • index - Index of a pet action button (between 1 and NUM_PET_ACTION_SLOTS) (number)

Returns:

  • isAttack - True if the action is the pet attack action; otherwise false (boolean)