Returns whether a pet action can be used. Used in the default UI to show pet actions as grayed out when the pet cannot be commanded to perform them (e.g. when the player or pet is stunned).

See also Pet functions, Action functions.


usable = GetPetActionSlotUsable(index)


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


  • usable - 1 if the pet action is currently available; otherwise nil (1nil)