/script local x,y=GetCursorPosition() local scale=UIParent:GetEffectiveScale() print(format(" x=%d y=%d",x/scale,y/scale))