WoW:API ClearCursor: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Add documentation)
 
Line 6: Line 6:
==Parameters==
==Parameters==
===Arguments===
===Arguments===
This function does not require any arguments.
:''none''
===Returns===
===Returns===
This function does not return any values.
:''none''
 
==Example==
==Example==
  ClearCursor();
  ClearCursor();

Revision as of 12:01, 28 August 2006

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

Arguments

none

Returns

none

Example

ClearCursor();
PickUpContainerItem(0,1);

Results

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

This function was added in patch 1.12 (The Drums of War).