componentRightOf

fun componentRightOf(visualOffset: Offset): InteractiveComponent

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