The information on this page may no longer be accurate. To see the latest, go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar


This function computes a Path from a start position to an end position. This function is not automatically called when a path is created and must be invoked each time the path needs to be updated.

Once the Path is computed, it will have a series of waypoints that, when followed, can lead a character along the path. These points are gathered with the Path/GetWaypoints function.

See also

  • articles/Pathfinding, provides an in-depth pathfinding walkthrough


Name Type Default Description

The world position where the computed path begins

The world position where the computed path finishes


Return Type Summary

No return

Code Samples

Using the Pathfinding Service

The code sample below explores how to move an NPC along a more complex path or around obstacles. This is known as pathfinding.