window_get_height

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.

 

Syntax:

window_get_height();

 

Returns:

Real

 

Example:

hh = window_get_height();

The above code will store the current window height in the variable "hh".