Turns autocast on or off for a pet action. Turns autocast on if not autocasting and vice versa.


See also Action functions, Pet functions.

Signature:

TogglePetAutocast(index)

Arguments:

  • index - Index of a pet action button (between 1 and NUM_PET_ACTION_SLOTS) (number)
This function is protected and can only be called by the Blizzard user interface