display_get_gui_width();
Returns: Real
With this function you can get the width (in pixels) of the GUI
as used in the Draw
Gui Event.
ads_move(display_get_gui_width() - ads_get_display_width(0), 0, 0);
The above code will set an advert to display at the top right-hand of the display.