Files
wow_Meta/api/SetCursor.lua
2024-12-16 13:13:08 +01:00

5 lines
589 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param cursor string
---Changes the mouse cursor image. Changes only the appearance of the mouse cursor, not its behavior (and has no effect if the cursor is holding an item, spell, or other data). Passing nil will revert the cursor to its default image. Normally used in a frame's OnEnter handler to change the cursor used while the mouse is over the frame. If used elsewhere, the cursor will likely be immediately reverted to default (due to the mouse handlers of other frames doing the same).
function SetCursor(cursor) end