pub fn despawn_with_tag<T: Component>(
    to_despawn: Query<'_, '_, Entity, With<T>>,
    commands: Commands<'_, '_>
)
Expand description

Despawn all entities with the given tag (component)