event_new_mouse_button_press


Description:

[ Version ( since = "1.22" ) ]
public static Event event_new_mouse_button_press (int button, double x, double y, NavigationModifierType state)

Create a new navigation event for the given key mouse button press.

Parameters:

button

The number of the pressed mouse button.

x

The x coordinate of the mouse cursor.

y

The y coordinate of the mouse cursor.

state

a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).

Returns:

a new Event