Move curve along two fixed points

Hello everyone, i’ve been trying to create some sliding system that works like this:

  • we have two points, i need them to be inputs (they can’t be intersection outputs) and being able to move them around if needed.
  • then i would like to use those two anchor points as some rail for my curve to move along.

I’ve tried by move to point, after using point on curve, but this only works for one of my points and does not respect my second point as a fixed one.
Does anyone know how to get closer to this? Any help will be appreciated. Thanks in advance.


Is this what you are looking for ?

SlidingCurve (14.7 KB)