How to: horisontally restricted closest point on curves

What would be the simplest way to do this?

I have a bunch of points and I wish to find their closest curve, but restricting movement only to horizontal axis.

Point distribution.gh (10.5 KB)

One option, using Curve/Plane intersection:

2 Likes

Seems simple. Thank you.