Function update_interactions

Source
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 pointer events to update PointerInteraction and PickingInteraction components.