Working on a fun little Fusion project. I have an imaginary line in my frame that's represented by two points (four invisible counters - X1, Y1, X2, Y2).
Now I have a third point, say the mouse cursor.
I need to find the point along the line represented by those counters that is nearest to that point (the mouse cursor).
Anyone have a formula or algorithm for this? In another programming language I'd be using Vector functions.