Home > @jsplumb/connector-bezier > pointAlongPath

## #

pointAlongPath() functionfinds the point that is 'distance' along the path from 'location'. this method returns both the x,y location of the point and also its 'location' (proportion of travel along the path); the method below - _pointAlongPathFrom - calls this method and just returns the point.

TODO The compute length functionality was made much faster recently, using a lookup table. is it possible to use that lookup table find a value for the point some distance along the curve from somewhere?

**Signature:**

`export declare function pointAlongPath(curve: Curve, location: number, distance: number): PointOnPath;`

## #

ParametersParameter | Type | Description |
---|---|---|

curve | Curve | |

location | number | |

distance | number |

**Returns:**