Grid graph little problem

image
I want it to go all the way as I drew it in red. How should I adjust the settings?

Current settings:

Hi

Your graph is rotated 45 degrees, which makes the manhattan heuristic not work that well. I’d recommend using either the Euclidean heuristic, or not having a rotated graph.

You’ll never be able to get quite the result that you show in red, because that requires moving 2 nodes in one direction, then 2 nodes in the other direction. The stable zig-zag is 1 node in each direction (like directly to the left of the red circle).