Enum MouseButton
Button indices for buttons.
Namespace: UnityEngine.InputSystem.LowLevel
Syntax
public enum MouseButton : intFields
| Name | Description | Value | 
|---|---|---|
| Left | Left mouse button. | 0 | 
| Right | Right mouse button. | 1 | 
| Middle | Middle mouse button. | 2 | 
| Forward | Second side button. | 3 | 
| Back | First side button. | 4 |