InputEvent.isPressed

Returns true if this input event is pressed. Not relevant for the event types MOUSE_MOTION, SCREEN_DRAG or NONE.

struct InputEvent
@nogc nothrow const
bool
isPressed
()

Meta