leafwing_input_manager::common_conditions

Function action_just_released

source
pub fn action_just_released<A>(
    action: A,
) -> impl FnMut(Res<'_, ActionState<A>>) -> bool
where A: Actionlike + Clone,
Expand description

Run condition that is active if ActionState::just_released is true for the given action.