Skip to content

window_get_x

CryoEagle edited this page Jan 11, 2019 · 7 revisions

window_center

Returns X position of window

Syntax:

window_get_x();

Returns: int

Description:

Return X position of window where is this code running.

Example:

int win_y = window_get_x();
show_debug_message(win_y.ToString());

The above code will save X position to int win_X.

Back to window-functions

Clone this wiki locally