Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Determines whether a key was newly pressed this frame.

API: scripting
Project: Inno.Input
Scope: Runtime

public static bool InnoEngine.Input.Input.WasKeyPressed(InnoEngine.Input.KeyCode key)

Parameter key: The backend-neutral physical key.

true when the key transitioned to down.