diff --git a/crates/bevy_animation/src/lib.rs b/crates/bevy_animation/src/lib.rs index 30aebf1356..0cc971e3d9 100644 --- a/crates/bevy_animation/src/lib.rs +++ b/crates/bevy_animation/src/lib.rs @@ -603,6 +603,7 @@ impl AnimationPlayer { self.active_animations.iter_mut() } + #[deprecated = "Use `animation_is_playing` instead"] /// Check if the given animation node is being played. pub fn is_playing_animation(&self, animation: AnimationNodeIndex) -> bool { self.active_animations.contains_key(&animation)