Clears any contents attached to the cursor. If the cursor contains an item picked up from inventory (equipment slots) or a container, the item returns to its point of origin and the inventory or container slot is unlocked. (To destroy an item, see DeleteCursorItem()).

If the cursor contains an action, that action is deleted (but not the spell, item, macro, etc that it represents).

If the cursor contains any other data type, nothing happens other than the cursor being reverted to its default state -- picking up such objects has no effect on their points of origin.


See also Cursor functions.

Signature:

ClearCursor()