HeadlessBackend.isPressed

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

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

Meta