window_views_mouse_get_y

Returns the y-coordinate of the mouse with respect to the views.

Syntax:

window_views_mouse_get_y();


Returns: Real


Description

This function returns the y-coordinate of the mouse with respect to all the active views and returns the same value mouse_y.

NOTE: For regular mouse functions see the section on Mouse Input.


Example:

myy = window_views_mouse_get_y();

This would set myy to the y coordinate of the mouse in the window relative to all active views.


Back: Views
Next: view_enabled
© Copyright YoYo Games Ltd. 2018 All Rights Reserved