componentLeftOf

fun componentLeftOf(visualOffset: Offset): InteractiveComponent

Finds the closest component, by both X and Y coordinates, which ends left of the specified point. If there is no such component, returns the component closest to the specified point.