# C_Cursor: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_Cursor

## Functions

### C_Cursor.GetCursorItem

```lua
item = C_Cursor.GetCursorItem()
```

May return nothing.

Returns:
- `item`: ItemLocation

## Events

### BATTLE_PET_CURSOR_CLEAR

No payload.

### CURSOR_CHANGED

Payload, after the event's name:
- `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

Payload, after the event's name:
- `anchorType`: WorldCursorAnchorType

---
Make an addon with your 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."
