display_get_height

Returns the height of the display.

Syntax:

GML Code Example

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:

GML Code Example

myheight = display_get_height();

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





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here