Skip to content

window_get_x

drewmccluskey edited this page Feb 12, 2019 · 7 revisions

window_get_x

Returns X position of window

Syntax:

window_get_x();

Returns: int

Description:

Return the X position (left side window position) of the current window.

Example:

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

The above code will set int win_x to the current x position of the window.

Back to window-functions

Clone this wiki locally