MouseEventBase<T0>.button

public int button;

Description

A value that indicates which mouse button was pressed or released (if any) to cause this event: 0 is the left button, 1 is the right button, 2 is the middle button. A negative value indicates that no mouse button changed state during this event.


Did you find this page useful? Please give it a rating: