Stop AI moving toward Grid Graph when not directly on it?

I’m using the procedural example to have the grid graph follow my player around - but annoying the AI bots will always try to get to a node even if they are not directly on a graph. What is the best way to handle this? I’ve tried setting the target of destination setter to the AI itself, but whatever I try they always try to get back to the graph. This causes them to fall off cliffs etc…

Do you have any tips?

Hi

I’d recommend completely disabling those agents if you do not want them to move when not within range of the player. When using pathfinding the agents will always move to the graph first.