Roblox UtilitiesDevlHub Roblox Documentation

Data type

PathWaypoint

A description of the steps required to reach the next waypoint in a path.

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 1#

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

new(position: Vector3, action: PathWaypointAction, label: string)#

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

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 3#

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

Action: PathWaypointAction#

The action to perform at this waypoint as an PathWaypointAction.

Position: Vector3#

The 3D position of this waypoint.

Label: string#

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