componentAt

fun componentAt(visualOffset: Offset): InteractiveComponent

Finds the component, which contains the point specified by the offset. If components overlap, returns the first one it finds. If there is no such component, returns the component closest to the specified point.