WoW:API DeleteCursorItem: Difference between revisions

no edit summary
m (ClearCursor is more reliable since it won't move the item to the backpack and won't fail if the backpack is full.)
No edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
Destroys the item currently held by the cursor.
Destroys the item currently held by the cursor.
DeleteCursorItem();


'''This does not deselect the item, this destroys it.''' Try [[API ClearCursor|ClearCursor]] to deselect the item.
== Details ==
 
* '''This does not deselect the item, this destroys it.''' Use {{api|ClearCursor}} to drop an item from the cursor without destroying it.
No return value.