pub fn update_interactions(
hover_map: Res<'_, HoverMap>,
previous_hover_map: Res<'_, PreviousHoverMap>,
commands: Commands<'_, '_>,
pointers: Query<'_, '_, (&PointerId, &PointerPress, &mut PointerInteraction)>,
interact: Query<'_, '_, &mut PickingInteraction>,
)Expand description
Uses HoverMap changes to update PointerInteraction and PickingInteraction components.