Function egui::hit_test::hit_test

source ยท
pub fn hit_test(
    widgets: &WidgetRects,
    layer_order: &[LayerId],
    layer_transforms: &HashMap<LayerId, TSTransform>,
    pos: Pos2,
    search_radius: f32,
) -> WidgetHits
Expand description

Find the top or closest widgets to the given position, none which is closer than search_radius.