World of Warcraft Forever API · C_Cursor.md, for your AI
C_Cursor
1 functions, 4 events, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
C_Cursor.GetCursorItem
item = C_Cursor.GetCursorItem()
May return nothing.
Returns
item | ItemLocation |
|---|
Events
BATTLE_PET_CURSOR_CLEAR
No payload.
CURSOR_CHANGED
isDefault | bool | |
|---|---|---|
newCursorType | UICursorType | |
oldCursorType | UICursorType | |
oldCursorVirtualID | number |
MOUNT_CURSOR_CLEAR
No payload.
WORLD_CURSOR_TOOLTIP_UPDATE
Sends an update when the mouse enters or leaves something in-world (object, unit, etc) that should display a tooltip
anchorType | WorldCursorAnchorType |
|---|