The FXScript Reference

For Final Cut Pro created by Joe Maller

Interpolate

Interpolate(p1, p2, percent, result)

Related Links:
DistTo

Additional Notes

Extrapolates too

The Interpolate function can also be used to extrapolate the position of points beyond the specified p1 and p2 values. Any percentage value less than zero will place the point before p1, any value greater than one will place the point beyond p2.

This might be slightly disorienting because values like -1.25 and 1.25 sort of don't seem to match up. P2 is not as important as p1, when extrapolating both -2 and 2 will be equidistant from p1.