Garry's Mod Wiki

PathFollower:GetPositionOnPath

  Vector PathFollower:GetPositionOnPath( number distance )

Description

Returns the vector position of distance along path

Arguments

1 number distance
The distance along the path to query

Returns

1 Vector
The position

Example

Gets the current position on the path as a Vector.