WoW API < CursorHasItem


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

hasItem = CursorHasItem()


Arguments[edit | edit source]

nil

Returns[edit | edit source]

hasItem 
Boolean - Whether the cursor is holding an item.

Note[edit | edit source]

This function returns nil if the item on the cursor is a merchant item (e.g. an item that was not picked up via PickupContainerItem).

Community content is available under CC-BY-SA unless otherwise noted.