Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
PathStatus
The success of a Path generated by PathfindingService.
Items
| Name | Value | Description |
|---|---|---|
| Success | 0 | Path found successfully. |
| ClosestNoPath | 1 | Path doesn't exist, returns path to closest point. |
| ClosestOutOfRange | 2 | Goal is out of MaxDistance range, returns path to closest point you can reach within MaxDistance. |
| FailStartNotEmpty | 3 | Failed to compute path; the starting point is not empty. |
| FailFinishNotEmpty | 4 | Failed to compute path; the finish point is not empty. |
| NoPath | 5 | Path doesn't exist. |
Success
Path found successfully.
| Field | Value |
|---|---|
| value | 0 |
ClosestNoPath
Deprecated.
Path doesn't exist, returns path to closest point.
| Field | Value |
|---|---|
| value | 1 |
| tags | ["Deprecated"] |
ClosestOutOfRange
Deprecated.
Goal is out of MaxDistance range, returns path to closest point you can reach within MaxDistance.
| Field | Value |
|---|---|
| value | 2 |
| tags | ["Deprecated"] |
FailStartNotEmpty
Deprecated.
Failed to compute path; the starting point is not empty.
| Field | Value |
|---|---|
| value | 3 |
| tags | ["Deprecated"] |
FailFinishNotEmpty
Deprecated.
Failed to compute path; the finish point is not empty.
| Field | Value |
|---|---|
| value | 4 |
| tags | ["Deprecated"] |
NoPath
Path doesn't exist.
| Field | Value |
|---|---|
| value | 5 |