Lore archive · Warcraft Wiki, 2023 dump
API SetCursor
Last wiki revision 2022-08-01
Sets the current cursor texture. changed = SetCursor(cursor)
- cursor: - cursor to switch to; either a built-in cursor identifier (like "ATTACK_CURSOR"), path to a cursor texture (e.g. "Interface/Cursor/Taxi"), or nil to reset to a default cursor.
- changed: - always 1.
- If the cursor is hovering over WorldFrame, the SetCursor function will have no effect - cursor is locked to reflect what the player is currently pointing at.
- Texture paths may be suffixed by ".crosshair" to offset the position of the texture such that it will be centered on the cursor.
- If called with an invalid argument, the cursor is replaced by a black square.
Source
https://warcraft.wiki.gg/wiki/API_SetCursor · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.