pub fn pick(
targets: &[HitTarget],
point: [f32; 2],
tolerance: f32,
) -> Option<usize>Expand description
The topmost hittable target at point, or None — returned as a slot
into targets so the caller resolves identity however it likes.
Iterates in reverse so later-drawn (visually on top) targets win. Loading placeholders are inert by design; near-invisible targets are leaving the scene (mid-fade ghosts — clicking one would surprise).