FANDOM


WoW API < GetSelectedStablePet


Gets the index of the currently selected pet in the stable.

selectedPet = GetSelectedStablePet()


Arguments Edit

None


Returns Edit

selectedPet
Number - The index of the currently selected pet slot, 0 being the current pet, 1 and 2 being the left and right slots, and -1 for when no pet is selected.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.