Data type
PathWaypoint
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 aPathWaypointobject from the givenVector3position,PathWaypointActionaction, 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
Jumpas their label.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.