Skip to main content

reset_animations_active

Function reset_animations_active 

Source
pub fn reset_animations_active(flag: Res<'_, AnimationsActive>)
Expand description

Clears AnimationsActive at the top of every tick (registered in crate::tick::TickStage::Input, which is chained before the Systems stage where animation drivers run). Recomputing the flag from scratch each tick is what guarantees idle-quiescence: a tick with no live animation leaves it false.