Hi, everyone!
If you're working with the Pathfinding behavior (e.g. turn-based strategy project) you probably want to show player the path that object will move along. Unfortunately Pathfinding behavior lacks this functionality. That's why I wrote my own simple algorithm of the path visualization.
Diagonal pathfinding off
Diagonal pathfinding on
All the details you'll find in the heavily commented .capx file that was included in this tutorial.
Hope that you'll find my algorithm useful. Good luck and have fun!