Grx.get_viewport_y

function get_viewport_y(): Number(gint) {
    // Gjs wrapper for grx_get_viewport_y()
}
  

Gets the starting Y coordinate of the current viewport.

Returns

the Y coordinate