Synced
InputSnapshot.WasMouseButtonPressed
Section titled “InputSnapshot.WasMouseButtonPressed”
- Determines whether a pointer button was newly pressed during this frame.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Input
Scope: Runtime
Declaration
Section titled “Declaration”public bool InnoEngine.Input.InputSnapshot.WasMouseButtonPressed(InnoEngine.Input.MouseButton button)Parameters
Section titled “Parameters”Parameter button: The backend-neutral pointer button.
Returns
Section titled “Returns”true when the button transitioned to down.