display_get_height

Returns the height of the display.

Syntax:

display_get_height();


Returns: Real


Description

This function will return the height of the display (in pixels). Note that on the HTML5 target, this value is the height of the browser window, rather than the physical display size.


Example:

myheight = display_get_height();

This would set the variable "myheight" to the display's height.


Back: Windows And Views
Next: display_get_width
© Copyright YoYo Games Ltd. 2018 All Rights Reserved