bevy_input::common_conditions

Function input_just_released

Source
pub fn input_just_released<T>(
    input: T,
) -> impl FnMut(Res<'_, ButtonInput<T>>) -> bool + Clone
where T: Copy + Eq + Hash + Send + Sync + 'static,
Expand description

Run condition that is active if ButtonInput::just_released is true for the given input.