DesktopWindow.MouseY
From Xojo Documentation
Read-Only Property (As Integer )
The Y coordinate of the mouse (points). Measured from the top-left corner of the window.
The Y coordinate of the mouse (points). Measured from the top-left corner of the window.