Anti-Pattern

If you don’t like the input API you can also use WasInputKeyJustPressed(key)