# Decorator Ticking Regardless of "Check Condition Only Black Board Changes"

**URL:** <https://forums.unrealengine.com/t/decorator-ticking-regardless-of-check-condition-only-black-board-changes/404703>\
**Category:** AI\
**Tags:** Behavior-Tree, blackboard, decorator, unreal-engine, question\
**Created:** [September 15, 2017, 11:36pm UTC](https://forums.unrealengine.com/t/decorator-ticking-regardless-of-check-condition-only-black-board-changes/404703 "2017-09-15T23:36:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrendanLoBuglio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BrendanLoBuglio](https://forums.unrealengine.com/u/BrendanLoBuglio)\
**Post date:** [September 15, 2017, 11:36pm UTC](https://forums.unrealengine.com/t/decorator-ticking-regardless-of-check-condition-only-black-board-changes/404703/1 "2017-09-15T23:36:49Z")

</div>

In the following Behavior tree, I’m trying to test the functionality of an abortable Decorator **that is only evaluated when a Blackboard value is changed,** rather than on every tick.

 ![213657-2017-09-15-16h11-24.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/0/cc04808cb0e221bb7a94483d3a0d676d28187bdf.png)

My expected behavior is that when the tree hits the left-hand leaf node, `CheckBoolObservingBBKey` will evaluate once, fail, and then not tick again until the 99999-second Wait Task finishes. You can see that in the implementation of `CheckBoolObservingBBKey` I have `Check Condition only if Black Board Changes` ticked to true, and that it has a public BlackBoardKeySelector parameter `Arbitrary BB Key` that’s hooked up to `KeyThatNeverChanges` – a blackboard bool which is set to false in the AIController’s BeginPlay function, and not ever changed again.

 ![213659-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/a/55abb433b8be078e7861c105b29a0281e7085376.png)

 ![213672-a.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/2/502210edbf08aff44077b80ea86b045345413778.png)

Unfortunately, the behavior I’m experiencing is that the decorator is being evaluated every tick (as evidenced by the breakpoint I have in there), regardless of the _Only if Blackboard Changes_ flag.

For various performance reasons, I would like the ability to control when my decorators tick as much as possible. **Is this an engine bug, or am I misunderstanding how this should work?**

---

<div class="post-metadata">

**Author:** ![DonHanson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonHanson](https://forums.unrealengine.com/u/DonHanson)\
**Post date:** [March 19, 2018, 4:07pm UTC](https://forums.unrealengine.com/t/decorator-ticking-regardless-of-check-condition-only-black-board-changes/404703/2 "2018-03-19T16:07:43Z")

</div>

Hi I made the same observation in 4.19 did you find a solution?

This post seems to describe a related problem: [Blackboard decorator node not aborting on result or value change - AI - Unreal Engine Forums](https://answers.unrealengine.com/questions/713032/blackboard-decorator-node-not-aborting-on-result-o.html)

---

<div class="post-metadata">

**Author:** ![granpas.Max](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@granpas.Max](https://forums.unrealengine.com/u/granpas.Max)\
**Post date:** [April 5, 2023, 4:55pm UTC](https://forums.unrealengine.com/t/decorator-ticking-regardless-of-check-condition-only-black-board-changes/404703/3 "2023-04-05T16:55:47Z")

</div>

Hi BrendanLoBuglio,

A licensee just point me out to this thread as they were having similar problem and I was able to repro this problem with the latest code. I checked in the a fix in UE5\Main depot in cl 24930872 which I believe you can fetch our git depot!

Hope this isn’t too late! Better late than never 😛

Maxime
