WoW API: AutoEquipCursorItem

From AddOn Studio
Jump to navigation Jump to search

WoW API < AutoEquipCursorItem

Automatically equips the item currently held on the cursor.

AutoEquipCursorItem();

Example

PickupContainerItem(0,1);
AutoEquipCursorItem();

Result

Equips the first item in your backpack to the relevant slot (if it can be equipped).