WoW API < EquipCursorItem

Equips the currently picked up item to a specific inventory slot.

EquipCursorItem(slot);

Parameters[edit | edit source]

Arguments[edit | edit source]

slot 
Numric - The slot ID to place the item into. Use GetInventorySlotInfo(slotname) to resolve an inventory slot name to its ID.

Example[edit | edit source]

EquipCursorItem(GetInventorySlotInfo("HEADSLOT"));

Result[edit | edit source]

Attempts to equip the currently picked up item to the head slot.

Community content is available under CC-BY-SA unless otherwise noted.