WoW:API DeleteCursorItem: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Destroys the item currently held by the cursor.)
 
m (Move page script moved page API DeleteCursorItem to API DeleteCursorItem without leaving a redirect)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{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'''
== 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.

Latest revision as of 04:45, 15 August 2023

WoW API < DeleteCursorItem

Destroys the item currently held by the cursor.

DeleteCursorItem();

Details[edit]

  • This does not deselect the item, this destroys it. Use ClearCursor to drop an item from the cursor without destroying it.