pub fn update_reparented<C: Component + Clone + PartialEq, F: QueryFilter, R: Relationship>(
commands: Commands<'_, '_>,
moved: Query<'_, '_, (Entity, &R, Option<&Inherited<C>>), (Changed<R>, Without<Propagate<C>>, Without<PropagateStop<C>>, F)>,
relations: Query<'_, '_, &Inherited<C>>,
orphaned: Query<'_, '_, Entity, (With<Inherited<C>>, Without<Propagate<C>>, Without<R>, F)>,
)
Expand description
add/remove Inherited::<C>
and C
for entities which have changed relationship