API:Class/PathWaypoint

Filtered-inheritance mode: While this class technically inherits all Instance class members, some (if not all) have been hidden because they serve no purpose for this object.

NavWaypoint.pngPathWaypoint : Object Icon.pngInstance

A PathWaypoint contains information about the points that make up a Path. This includes both the Position of the point as well as the Action. The action shows what action a character would need to do in order to reach the next waypoint in the path. For most waypoints the action will be Walk, meaning the character can simply walk to the next waypoint. In some cases however, the action can be Jump, which means that the character has reached a ledge or a gap and will need to jump to reach the next point.

PathWaypoints cannot be created with Instance.new. Instead, they are created automatically by the GetWaypoints function of Paths.

Properties

Properties [toggle]

PathWaypointActionAction [readonly]

The action to perform in order to reach this waypoint.

|RMD member="API:Class/PathWaypoint/Action"|The action to perform in order to reach this waypoint.|/RMD|
Vector3Position [readonly]

The position of the waypoint.

|RMD member="API:Class/PathWaypoint/Position"|The position of the waypoint.|/RMD|
Action [readonly]
The action to perform in order to reach this waypoint.
Position [readonly]
The position of the waypoint.



|RMD member="API:Class/PathWaypoint"|A PathWaypoint contains information about the points that make up a Path. This includes both the Position of the point as well as the Action. The action shows what action a character would need to do in order to reach the next waypoint in the path. For most waypoints the action will be Walk, meaning the character can simply walk to the next waypoint. In some cases however, the action can be Jump, which means that the character has reached a ledge or a gap and will need to jump to reach the next point. PathWaypoints cannot be created with Instance.new. Instead, they are created automatically by the GetWaypoints function of Paths. |/RMD|