Skip to content

window_get_y

drewmccluskey edited this page Feb 12, 2019 · 3 revisions

window_get_y

Returns Y position of the current window

Syntax:

window_get_y();

Returns: int

Description:

Returns the Y position (top side window position) of the current window.

Example:

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

The above code will set int win_y to the current y position of the window.

Back to window-functions

Clone this wiki locally