WoW:API GetCursorPosition: Difference between revisions

m
Move page script moved page API GetCursorPosition to WoW:API GetCursorPosition without leaving a redirect
m (Move page script moved page API GetCursorPosition to WoW:API GetCursorPosition without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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