diff --git a/crates/bevy_animation/src/lib.rs b/crates/bevy_animation/src/lib.rs index b5cc25cfed0da..28e791d6a9990 100755 --- a/crates/bevy_animation/src/lib.rs +++ b/crates/bevy_animation/src/lib.rs @@ -1143,25 +1143,27 @@ pub fn animate_targets( continue; }; - // Trigger all animation events that occurred this tick, if any. - if let Some(triggered_events) = TriggeredEvents::from_animation( - AnimationEventTarget::Node(target_id), - clip, - active_animation, - ) { - if !triggered_events.is_empty() { - par_commands.command_scope(move |mut commands| { - for TimedAnimationEvent { time, event } in - triggered_events.iter() - { - commands.queue(trigger_animation_event( - entity, - *time, - active_animation.weight, - event.clone().0, - )); - } - }); + if !active_animation.paused { + // Trigger all animation events that occurred this tick, if any. + if let Some(triggered_events) = TriggeredEvents::from_animation( + AnimationEventTarget::Node(target_id), + clip, + active_animation, + ) { + if !triggered_events.is_empty() { + par_commands.command_scope(move |mut commands| { + for TimedAnimationEvent { time, event } in + triggered_events.iter() + { + commands.queue(trigger_animation_event( + entity, + *time, + active_animation.weight, + event.clone().0, + )); + } + }); + } } }