This is a yielding function. When called, it will pause the Lua thread that called the function until a result is ready to be returned, without interrupting other scripts.
This item has been superseded by
PathfindingService/FindPathAsync which should be used in all new work instead.
This function computes and returns a
Path between two
DataType/Vector3|Vector3s. If the given MaxDistance is greater than 512, an error will be thrown. (MaxDistance is too large).