Skip to content

window_mouse_get_x

CryoEagle edited this page Jan 10, 2019 · 3 revisions

window_mouse_get_x

Returns mouse X position

Syntax:

window_mouse_get_x()

Returns: int

Description:

Returns mouse X position, can be used for objects that follows mouse.

Example:

int mouse_x = window_mouse_get_x();
show_debug_message(mouse_x.ToString());

The above code will return X positoon of mouse of currently using window.

Back to window-functions

Clone this wiki locally