Thanks, I ended up using the standard vector calc with an x limit. Not the most mathematically correct but it did the trick.

Straight line distance vector

math.sqrt(((x1-x2)*(x1-x2)) + ((y1-y2)*(y1-y2)))

and

math.abs(x1-x2) for the x limit

Thanks, I ended up using the standard vector calc with an x limit. Not the most mathematically correct but it did the trick.

Straight line distance vector

math.sqrt(((x1-x2)*(x1-x2)) + ((y1-y2)*(y1-y2)))

and

math.abs(x1-x2) for the x limit