use bevy::prelude::*; fn main() { App::build() .add_plugins(bevy_webgl2::DefaultPlugins) .add_startup_system(setup.system()) .add_system(animate_sprite_system.system()) .run(); } fn animate_sprite_system( time: Res