Retrieves a value indicating the current state of the left, right, and middle mouse buttons.
public static final int getMouseButtons()
Returns an integer that represents the status of the left, right, and middle mouse buttons. Possible return values are obtained by applying the bitwise OR operation (|) to the MouseButton.LEFT, MouseButton.RIGHT, and MouseButton.MIDDLE constants defined in the MouseButton class.