-
-
Notifications
You must be signed in to change notification settings - Fork 18
window_mouse_get_y
drewmccluskey edited this page Feb 12, 2019
·
3 revisions
Returns mouse y position
window_mouse_get_y()
Returns: int
Returns the mouse's y position. This function can be used for positioning objects at the location of the mouse or checking if the mouse is over an object.
int mouse_y = window_mouse_get_y();
show_debug_message(mouse_y.ToString());
The above code will return the y position of the mouse in the current window.
Back to window-functions