Learn
Engine Class
Path
Not Creatable
Not Replicated

Summary
Methods
CheckOcclusionAsync(start: number):number
Deprecated
ComputeAsync(start: Vector3,finish: Vector3):()
Events
Blocked(blockedWaypointIdx: number):RBXScriptSignal
Unblocked(unblockedWaypointIdx: number):RBXScriptSignal
Inherited Members

API Reference
Properties
Status
Read Only
Not Replicated
Read Parallel
Capabilities: Basic
Path.Status:Enum.PathStatus

Methods
CheckOcclusionAsync
Deprecated

ComputeAsync
Yields
Capabilities: Basic
Path:ComputeAsync(
start:Vector3, finish:Vector3
):()
Parameters
start:Vector3
finish:Vector3
Returns
()

GetPointCoordinates
Deprecated

GetWaypoints
Capabilities: Basic
Path:GetWaypoints():{any}
Returns
Code Samples
Get Path Waypoints
local PathfindingService = game:GetService("PathfindingService")
local path = PathfindingService:CreatePath()
local PATH_START = Vector3.new(0, 1, 0)
local PATH_END = Vector3.new(100, 1, 25)
path:ComputeAsync(PATH_START, PATH_END)
if path.Status == Enum.PathStatus.Success then
local waypoints = path:GetWaypoints()
for _, waypoint in pairs(waypoints) do
print(waypoint.Position)
end
end

Events
Blocked
Capabilities: Basic
Path.Blocked(blockedWaypointIdx:number):RBXScriptSignal
Parameters
blockedWaypointIdx:number

Unblocked
Capabilities: Basic
Path.Unblocked(unblockedWaypointIdx:number):RBXScriptSignal
Parameters
unblockedWaypointIdx:number

©2026 Roblox Corporation. Roblox, the Roblox logo and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.