View Single Post
06-17-18, 09:25 AM
An Onyxian Warder
Join Date: Nov 2007
Blizzard actually did all the work:
local x, y = WorldMapFrame.ScrollContainer:GetNormalizedCursorPosition()
That will return the x, y coordinates taking into account map zoom, pan, etc...
Just multiply x and y by 100 and it should work like you want.
Last edited by Vrul : 06-17-18 at
. Reason: Forgot :
View Public Profile
Send a private message to Vrul
Find More Posts by Vrul