Lore archive · Warcraft Wiki, 2023 dump
GetCursorScaledPosition
Last wiki revision 2008-07-09
Returns the scaled position of the cursor. local x, y =
- x
- The scaled x position of the cursor
- y
- The scaled y position of the cursor
local x, y = ; message('('..x..', '..y..')');
- (25.45218785412654, 375.45610597856123)
local function local scale, x, y = UIParent:GetScale, GetCursorPosition return x / scale, y / scale end
Categories
- User defined functions
Source
https://warcraft.wiki.gg/wiki/GetCursorScaledPosition · 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.