Left Click or Tap anywhere to set the Target's location, and the smiling Characters should move around walls to get to it.
This is just a little demo of some super simplified "pathfinding"---it doesn't use any optimization methods (such as A*), but does find a path to the target. Note that this method can considerably affect game performance when used on a large scale.
There are two ways for the Characters to rotate along the path they follow: currently they are set to rotate smoothly between angles, but an alternate behavior bundle exists to make them rotate to the exact necessary angle.
The code here may not be the easiest to understand, though I've tried to make it as simplified as possible. As well, there are much more sophisticated pathfinding examples than this (I've made a few, and so have others like TinkerSmith or JR01 for instance), but this hopefully is enough to present to you the basics.
This is an improved version of my original pathfinding example, which can be found here: https://flowlab.io/game/play/1942227
But here is my latest pathfinding system: https://flowlab.io/game/play/2494906
You can go here with questions or comments: https://community.flowlab.io/t/4-pathfinding-player-follow-examples-platforming-top-down/36367