# How do i make the ai stop chasing me?

**URL:** <https://forums.unrealengine.com/t/how-do-i-make-the-ai-stop-chasing-me/470969>\
**Category:** Rendering\
**Tags:** ai-navigation, fov, unreal-engine, pawn-sensing, Blueprint, question\
**Created:** [September 7, 2020, 4:40pm UTC](https://forums.unrealengine.com/t/how-do-i-make-the-ai-stop-chasing-me/470969 "2020-09-07T16:40:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [September 7, 2020, 4:40pm UTC](https://forums.unrealengine.com/t/how-do-i-make-the-ai-stop-chasing-me/470969/1 "2020-09-07T16:40:46Z")

</div>

How do i make my Ai stop chasing me after disappearing from his field of view for 3 secs? [Screen capture - 9654f4c9a8c7884d9d0c5ce2f9bf4df6 - Gyazo](https://gyazo.com/9654f4c9a8c7884d9d0c5ce2f9bf4df6) This is my AI blueprint. I Use Pawnsensing.

---

<div class="post-metadata">

**Author:** ![shipster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shipster](https://forums.unrealengine.com/u/shipster)\
**Post date:** [September 7, 2020, 4:57pm UTC](https://forums.unrealengine.com/t/how-do-i-make-the-ai-stop-chasing-me/470969/2 "2020-09-07T16:57:48Z")

</div>

I would really recommend to use behaviour trees for this.

Also the pawnsensing component is deprecated and not supported anymore.  
You should use the AIPerception component for this.

Without behaviour trees the logic will get really complicated. Especially in blueprints.

And behaviour trees are really not as complicated as one might think.

---

<div class="post-metadata">

**Author:** ![Okarii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Okarii](https://forums.unrealengine.com/u/Okarii)\
**Post date:** [September 7, 2020, 6:49pm UTC](https://forums.unrealengine.com/t/how-do-i-make-the-ai-stop-chasing-me/470969/3 "2020-09-07T18:49:17Z")

</div>

I second this recommendation. Additionally, if your looking for a good place to start, your in luck! the UE4 documentation quick start page for Behavior trees walks you through creating this exact style of ai; it patrols, once it sees you it chases a bit, if it looses track it eventually returns to patrolling!  
[https://docs.unrealengine.com/en-US/Engine/ArtificialIntelligence/BehaviorTrees/BehaviorTreeQuickStart/index.html](https://docs.unrealengine.com/en-US/Engine/ArtificialIntelligence/BehaviorTrees/BehaviorTreeQuickStart/index.html)
