WoW:API ClearCursor: Difference between revisions
Jump to navigation
Jump to search
(Add documentation) |
m (Move page script moved page API ClearCursor to API ClearCursor without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
==Parameters== | ==Parameters== | ||
===Arguments=== | ===Arguments=== | ||
:''none'' | |||
===Returns=== | ===Returns=== | ||
:''none'' | |||
==Example== | ==Example== | ||
ClearCursor(); | ClearCursor(); |
Latest revision as of 04:45, 15 August 2023
← 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()
Parameters[edit]
Arguments[edit]
- none
Returns[edit]
- none
Example[edit]
ClearCursor(); PickUpContainerItem(0,1);
Results[edit]
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.
Details[edit]
This function was added in patch 1.12 (The Drums of War).