WoW API: SetCursor

WoW API < SetCursor

SetCursor(cursor);

Parameters

Arguments

cursor
String - Can be one of these:
  • "ATTACK_CURSOR"
  • "ATTACK_ERROR_CURSOR"
  • "BUY_CURSOR"
  • "BUY_ERROR_CURSOR"
  • "CAST_CURSOR"
  • "CAST_ERROR_CURSOR"
  • "POINT_CURSOR"
  • "POINT_ERROR_CURSOR"
  • nil - resets cursor
  • A path to a 32x32 cursor graphic


Details

  • The option to pass nil was added in 1.11.
  • For custom textures: Appears to only work with blp files
  • For custom textures: Appears to only work outside of hardware cursor mode (there may be more details)