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

API: engine
Project: Inno.Input

public bool Inno.Input.InputSnapshot.WasKeyPressed(Inno.Core.Input.KeyCode key)

Parameter key: The backend-neutral physical key.

true when the key transitioned to down.