AI sensing, how to make is stop sensing?


I’m currently creating a game for school.
I have an AI which runs towards me when he senses me trough Pawn sensing.
However it doesn’t stop following me after it sensed me, not even if I’m super far away
It does stop when I get behind it behind it.

I have seen that a lot of people asked the same question but sadly no one has given an answer yet.
I’m a big noob when it comes to blueprints but the thing I want to achieve seems rather simple.
Can anyone help me out?

Here’s the blueprint code for the enemy pawn:


“Set Sensing Updates Enabled” node?

chose the distance, put the node disable movement if its too far and set movement mode = walking if its in range
i think is this you want