Skip to content

window_center

drewmccluskey edited this page Feb 12, 2019 · 2 revisions

window_center

align window to center of screen

Syntax:

window_center()

Returns: void

Description:

This function will align the game window to the center of the screen. This is very useful for keeping a clean window position and should generally be used upon startup.

Example:

window_center();

The above code will align the game window to the center of the screen.

Back to window-functions

Clone this wiki locally