Target desired distance doesn't work



I have an enemy chasing player, but the target desired distance doesn’t work, so the enemy just bumps into him. What do I do to make it work?

How do you know if it doesnt work? You are just checking if the target_position is set.
The navigation_agent has signals like target_reached and navigation_finished to tell you its done