→ WoW API
|This function is protected, and cannot be called from insecure code while in in combat.
Places a companion onto the mouse cursor.
- String - companion type, either "MOUNT" or "CRITTER".
- Number - index of the companion of the specified type to place on the cursor, ascending from 1.
- You should only use this function to pick up mounts; for critters, this function has been superseded by C_PetJournal.PickupPet, and instead places an unusable spell on the cursor.