WoW:API DeleteCursorItem: Difference between revisions

m
ClearCursor is more reliable since it won't move the item to the backpack and won't fail if the backpack is full.
(upgraded deprecated template)
m (ClearCursor is more reliable since it won't move the item to the backpack and won't fail if the backpack is full.)
Line 2: Line 2:
Destroys the item currently held by the cursor.
Destroys the item currently held by the cursor.


'''This does not deselect the item, this destroys it.''' Try [[API PutItemInBackpack|PutItemInBackpack]] to deselect the item.
'''This does not deselect the item, this destroys it.''' Try [[API ClearCursor|ClearCursor]] to deselect the item.


No return value.
No return value.
Anonymous user