Today I've spent some time to learn A star search algorithm . It's mainly used in pathfinding. Thanks to Godot's AStar class, it's usage is fairly simple. TBH I wasn't expecting it to be "this" simple. Here is a demo from the game I am currently working on: There is some room for improvements but it's main function is working as expected.