Module common_conditions

Source
Expand description

Run conditions for actions.

Functionsยง

action_just_pressed
Run condition that is active if ActionState::just_pressed is true for the given action.
action_just_released
Run condition that is active if ActionState::just_released is true for the given action.
action_pressed
Run condition that is active if ActionState::pressed is true for the given action.
action_toggle_active
Stateful run condition that can be toggled via an action press using ActionState::just_pressed.