How to stop AI Seeker after reached destination

I just realize if the Ai / seeker will still calculating path and trying to move to target destination even they already reached the destination or in endReachedDistance range.

If the Ai already reached the distance and stop move (not actually stopped I guess), then I drag the Ai into another position, the will move back to last target position.

I don’t want that, I want to make Ai fully stopped, not calculating nor trying to get into target position, just fully stop until I do something in the code to trigger the Ai movement into new position.

How to do that?

Hi

You can do:

void Update() {
    if (ai.reachedDestination) ai.destination = Vector3.positiveInfinity;
}

to remove its destination once it reaches it.