The GetY function retrieves the vertical position of the mouse cursor in pixels.
The coordinates are relative to screen.
Syntax
Integer Mouse.GetY()
Parameters
The GetY function has no parameters.
Return value
The GetY function returns the position in pixels.
Example
y = myMouse.GetY()