Pathfinding

Finding a walkable route around obstacles from one point to another.

Think of it as A sat-nav that plans around closed roads.

PathfindingService:CreatePath describes the agent (radius, height, jumping, climbing, costs); Path:ComputeAsync searches a navigation mesh and GetWaypoints returns the route. Paths go stale when the world or the target moves, so NPCs re-path on Path.Blocked and when the target moves far enough.

Official reference: create.roblox.com

Related terms