How can I export the path green line?


Hi everyone!
I’d like to export the green line of the path. Alternatively, I’d like to esport the points’ coordinates where the player move along the shortest path (that is the green line of the path). Is it possible?
Thank you everyone in advance for any help.



Yes, you can access the vectorPath list on the Path object, it contains a list of coordinates for that green line.


Hi Aron,
thank you for your fast answer. Now I have another question: how could I have the total length of the path? I guess I can do it using “GetTotalLength()” function; is there an easy way to have this kind of information?
Thank you!



Well… The GetTotalLength method is the easy way to get that information.