Linear interpolation between 2 points. Moves the input point with lerpFactor towards the end point value.
The point to move.
The x value to move towards.
The y value to move towards.
The percentage amount to move. A value between 0 and 1.
If the distance between from and to is smaller than lock, the return value will snap to end.
Linear interpolation between 2 points. Moves the input point with lerpFactor towards the end point value.