WoW API: ClearCursor
← WoW API < ClearCursor
Clears the in-game cursor, returning the object held to its original position (equivalent to right-clicking while holding something on the cursor).
ClearCursor()
ParametersEdit
ArgumentsEdit
- none
ReturnsEdit
- none
ExampleEdit
ClearCursor(); PickUpContainerItem(0,1);
ResultsEdit
Picks up the item in the first slot of your backpack. Does not exchange items in bags/inventory, does not attempt to enchant or cast spells on the item.
DetailsEdit
This function was added in patch 1.12 (The Drums of War).