InputEvent.isActionPressed

Returns true if the given action is being pressed (and is not an echo event for KEY events). Not relevant for the event types MOUSE_MOTION, SCREEN_DRAG or NONE.

struct InputEvent
@nogc nothrow const
bool
isActionPressed
(
StringArg0
)
(
in StringArg0 action
)

Meta