1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

PathWaypoint

The PathWaypoint data type is constructed by a PathWaypointAction action, Vector3 position, and string label which is used by the PathfindingService to create points along a generated path.

Constructors

NameType / ReturnsDescription
PathWaypoint.newReturns a PathWaypoint object from the given Vector3 position, PathWaypointAction action, and optional string label.

PathWaypoint.new

Returns a PathWaypoint object from the given Vector3 position, PathWaypointAction action, and optional string label.

Parameters

NameTypeDefaultDescription
positionVector3The 3D position of the waypoint.
actionPathWaypointActionThe action to perform at the waypoint.
labelstringThe name of the navigation area that generates the waypoint.

Properties

NameType / ReturnsDescription
PathWaypoint.ActionPathWaypointActionThe action to perform at this waypoint.
PathWaypoint.PositionVector3The 3D position of this waypoint.
PathWaypoint.LabelstringThe name of the navigation area that generates this waypoint.

PathWaypoint.Action

The action to perform at this waypoint as an PathWaypointAction.

FieldValue
typePathWaypointAction

PathWaypoint.Position

The 3D position of this waypoint.

FieldValue
typeVector3

PathWaypoint.Label

The name of the navigation area that generates this waypoint. Automatic jump links have Jump as their label.

FieldValue
typestring