# Behaviour tree does not stop

**URL:** <https://forums.unrealengine.com/t/behaviour-tree-does-not-stop/473379>\
**Category:** AI\
**Tags:** Behavior-Tree, unreal-engine, stop, question\
**Created:** [October 23, 2020, 4:33pm UTC](https://forums.unrealengine.com/t/behaviour-tree-does-not-stop/473379 "2020-10-23T16:33:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![D.H.A.21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@D.H.A.21](https://forums.unrealengine.com/u/D.H.A.21)\
**Post date:** [October 23, 2020, 4:33pm UTC](https://forums.unrealengine.com/t/behaviour-tree-does-not-stop/473379/1 "2020-10-23T16:33:30Z")

</div>

Hey there i want to stop my AI movement when it casts an animation ,while chasing me . I tried multiple combinations but nothing helped me , i do not know how to tackle this one.

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [November 4, 2020, 7:12am UTC](https://forums.unrealengine.com/t/behaviour-tree-does-not-stop/473379/2 "2020-11-04T07:12:16Z")

</div>

Hi! **Casts an animation** - what do you mean by that? And one more thing, it is better to keep same logic actions in one entity. If you work with mob actions in BehTree then keep it there, try to avoid logic noodling )

---

<div class="post-metadata">

**Author:** ![D.H.A.21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@D.H.A.21](https://forums.unrealengine.com/u/D.H.A.21)\
**Post date:** [November 4, 2020, 7:25am UTC](https://forums.unrealengine.com/t/behaviour-tree-does-not-stop/473379/3 "2020-11-04T07:25:32Z")

</div>

Hey there thanks for the response . I have fixed the problem by adding a stop movement in the function and after playing the animation setting the movement mode to a variable . Also is there any problem with the servers cause i have posted almost 15 complaints and deleted them due to no response . Do u know why is it
