Show route with simple move to actor


I am busy making AI for a tower defense game.I am using a simple move to actor to have the AI move from the spawn point to the exit point.

My question is can I somehow show the route that the enemies are running with a line or arrows or something.Since the navmesh updates as buildings are placed this will need to update aswel

the picture below shows one way of doing this. basically you get the path then get the path points and from there you just need to draw them via debug lines, spline mesh, or whatever method you want. i dont know how applicable this will be in your case since i did it on the enemy character and you will probably have many enemies at once but im sure you could implement it with a timer or something.

Works perfectly as is actually.Thanks a lot