# Behavior Tree Custom Decorator can't abort self until Custom Task is finished

**URL:** <https://forums.unrealengine.com/t/behavior-tree-custom-decorator-cant-abort-self-until-custom-task-is-finished/462596>\
**Category:** AI\
**Tags:** Behavior-Tree, decorator, unreal-engine, question\
**Created:** [March 18, 2020, 11:37pm UTC](https://forums.unrealengine.com/t/behavior-tree-custom-decorator-cant-abort-self-until-custom-task-is-finished/462596 "2020-03-18T23:37:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iKeepBelieving](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iKeepBelieving](https://forums.unrealengine.com/u/iKeepBelieving)\
**Post date:** [March 18, 2020, 11:37pm UTC](https://forums.unrealengine.com/t/behavior-tree-custom-decorator-cant-abort-self-until-custom-task-is-finished/462596/1 "2020-03-18T23:37:24Z")

</div>

Can someone explain me why my Behavior Tree Custom Decorator can’t abort self until Custom Task is finished.

 ![298030-безымянныи.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/2/1227c11786be1568a67c125e983ce765d5e4ba06.png)

 ![298042-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/0/b80d102f602e090f4e6e8a084dc0af5660081861.png)

 ![298043-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/b/d9b5bb78a84d73d66734f0a107ca6d3ce055dc7c.png)

It even says “false” but never says “ABORTED”. It keeps moving and it keeps running in simulation.

---

<div class="post-metadata">

**Author:** ![iKeepBelieving](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iKeepBelieving](https://forums.unrealengine.com/u/iKeepBelieving)\
**Post date:** [March 18, 2020, 11:46pm UTC](https://forums.unrealengine.com/t/behavior-tree-custom-decorator-cant-abort-self-until-custom-task-is-finished/462596/2 "2020-03-18T23:46:32Z")

</div>

Okay for some most weird reason in the world it’s because of Lock all logic parameter of Move to Location or Actor node. It must be false.
