Stop when not in Range?

I just started using pathfinding yesterday, I’m trying to make a small game but the enemy I placed always moves towards the player no matter the distance is there a way to set a required distance for the enemy to only move when the player gets in range?


Nothing like this is included in this package, however you can easily do this in your own script by only setting the target to the player once the player comes within range.