window_get_height();
Returns: Real
With this function you can get the current height (in pixels) of the game window.
hh = window_get_height();
The above code will store the current window height in the variable "hh".