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

API: scripting
Project: Inno.Input
Scope: Runtime

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

Parameter key: The backend-neutral physical key.

true when the key transitioned to down.