window_view_mouse_get_y(id)
Jump to navigation
Jump to search
Description
Gets the mouse y coordinate with respect to the given view.
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | index of the view, 0-7 |
Return Values
integer: Returns the y coordinate of the mouse with respect to the view.
Example Call
// demonstrates getting the mouse position relative to the 5th view
var xx, yy;
xx = window_view_mouse_get_x(4);
yy = window_view_mouse_get_y(4);