HeadlessBackend.isPressed

Check if the given keyboard key has just been pressed/released or, if it's held down or not (up).

  1. bool isPressed(MouseButton button)
  2. bool isPressed(KeyboardKey key)
    class HeadlessBackend
    const
    bool
    isPressed
  3. int isPressed(GamepadButton button)

Meta