DeleteCursorItem

From Warcraft Wiki
Jump to navigation Jump to search

Destroys the item held by the cursor.

DeleteCursorItem()

Details

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

Patch changes

Shadowlands Patch 9.1.5 (2021-11-02): Protected when called from a (macro) script. Limited to deleting a single item per hardware event.
Shadowlands Patch 9.0.2 (2020-11-17): Requires a hardware event. A single hw event is sufficient for destroying multiple items.