With this function you can get the current height (in pixels) of the game window.
NOTE On GX.games, this returns the height of the browser area.
window_get_height();
hh = window_get_height();
The above code will store the current window height in the variable "hh".