here, try this:
Simplest “Pathfinding” / Player Follow / Enemy Chase AI - Examples & Tutorials - Flowlab Community