--- title: pointNearToPolyline status: published category: primitives group: Function author: api date: 06/23/2023 order: 68 ---Public Function Get whether a point is within a certain distance from a polyline. ##### Parameters `A` ```ts VecLike ``` The point to check. `points` ```ts VecLike[] ``` The points that make up the polyline. `distance` (optional) ```ts number ``` The mininum distance that qualifies a hit. ##### Returns ```ts boolean ``` ##### References [VecLike](/gen/primitives/VecLike-type)