C_Cursor.GetCursorItem

From Warcraft Wiki
Jump to navigation Jump to search

Returns the item currently dragged by the player.

item = C_Cursor.GetCursorItem()

Returns

item
ItemLocationMixin🔗 - The item currently dragged by the player, or nil if not dragging an item.

Patch changes

Battle for Azeroth Patch 8.0.1 (2018-07-17): Added.[1]

References

  1. ^ 2018-07-16, CursorDocumentation.lua, version 8.0.1.27101, archived at Townlong-Yak