Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 1.1.0 / 1.13.2

Returns 1 if the cursor currently holds an item, nil otherwise.

hasItem = CursorHasItem()

Returns

hasItem 
boolean - Whether the cursor is holding an item.

Note

This function returns nil if the item on the cursor was not picked up via PickupContainerItem, e.g. items from the guild bank (which are picked up via PickupGuildBankItem) or a merchant item.

Advertisement