Mouse.ScreenY (gb.qt4)

Static Property Read ScreenY As Integer

Returns the current absolute vertical position of the cursor.

This property and it's co-part Mouse.ScreenX can be used at ANY time in your code unlike the other Mouse properties that can only be accessed during mouse events.

Warning...

With Wayland Mouse.ScreenX and Mouse.ScreenY do not report the mouse position relevant to the screen but instead report Mouse.X and Mouse.Y relevant to the form.

Gambas cannot get the actual screen mouse position in wayland