-
-
Notifications
You must be signed in to change notification settings - Fork 19
window_mouse_get_x
CryoEagle edited this page Jan 10, 2019
·
3 revisions
Returns mouse X position
window_mouse_get_x()
Returns: int
Returns mouse X position, can be used for objects that follows mouse.
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