Skip to content

Data type

PathWaypoint

Official docs ↗

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

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

  • PathWaypoint.new(position: Vector3 = , action: PathWaypointAction = , label: string = )Returns a PathWaypoint object from the given Vector3 position, PathWaypointAction action, and optional string label.

Properties 3

  • Action: PathWaypointActionThe action to perform at this waypoint.

    The action to perform at this waypoint as an PathWaypointAction.

  • Position: Vector3The 3D position of this waypoint.
  • Label: stringThe name of the navigation area that generates this waypoint.

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

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.