API CursorHasItem

104,672pages on
this wiki
Add New Page
Talk0 Share
WoW API < CursorHasItem

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

hasItem = CursorHasItem()

Arguments Edit


Returns Edit

Boolean - Whether the cursor is holding an item.

Note Edit

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).

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki