Drag the green and red points and it will draw a path from the green(start point) to the red(end point).
If you want to use this please give credit. Technical stuff: This uses greedy BFS for pathfinding from the start to the end polygon. All polygons must be convex, concave polygons will break it. Polygon winding order is clockwise You have to make your own navmesh, I don't know how to code an algorithm to bake one Made this for an upcoming project Funnel algorithm: https://digestingduck.blogspot.com/2010/03/simple-stupid-funnel-algorithm.html