Indicates whether the mouse button provided was .
public static bool isMouseHeld(
int
)
Parameters
- button
An integer indicating the Mouse Button to check for. Accepts:
- 0 for the left-hand mouse button.
- 1 for the right-hand mouse button.
- 2 for the center mouse button (not all mice have this).
Return Value
true if the button was , false if not.