WoW:API GetCursorPosition: Difference between revisions

Line 25: Line 25:


== Notes ==
== Notes ==
: To apply scale, divide both x and y by the value returned by UIParent:GetScale()
: To apply scale, divide both x and y by the value returned by UIParent:GetEffectiveScale()
: The coordinates returned by this use BOTTOMLEFT as the origin, not TOPLEFT. This means [0, 0] is the exact bottom-left point on the screen.
Anonymous user