window_mouse_get_y()
This will return the y position of the mouse within the game screen:
Example
wheresmousex = window_mouse_get_y();
If, for example, the mouse was in the top-left corner of the screen, wheremousey would return a 0 (0 x 0 coords)
Revision #1