display_get_gui_height

Returns the height of the GUI.

Syntax:

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:

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.


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