display_get_gui_height

Returns the height of the GUI.

Syntax:

GML Code Example

display_get_gui_height();


Returns: Real


Description

With this function you can get the height (in pixels) of the GUI as used in the Draw Gui Event.


Example:

GML Code Example

ads_move(0, display_get_gui_height() - ads_get_display_height(0), 0);

The above code will set an advert to display at the bottom left-hand corner of the display.





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