Synced
Input.WasKeyPressed
Section titled “Input.WasKeyPressed”
- Determines whether a key was newly pressed this frame.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Input
Scope: Runtime
Declaration
Section titled “Declaration”public static bool InnoEngine.Input.Input.WasKeyPressed(InnoEngine.Input.KeyCode key)Parameters
Section titled “Parameters”Parameter key: The backend-neutral physical key.
Returns
Section titled “Returns”true when the key transitioned to down.