# Why is my AI losing a set Blackboard value?

**URL:** <https://forums.unrealengine.com/t/why-is-my-ai-losing-a-set-blackboard-value/1531897>\
**Category:** Programming & Scripting\
**Tags:** Behavior-Tree, blackboard, unreal-engine, Blueprint, question\
**Created:** [December 17, 2023, 2:46am UTC](https://forums.unrealengine.com/t/why-is-my-ai-losing-a-set-blackboard-value/1531897 "2023-12-17T02:46:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![N0dnarb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@N0dnarb](https://forums.unrealengine.com/u/N0dnarb)\
**Post date:** [December 17, 2023, 2:46am UTC](https://forums.unrealengine.com/t/why-is-my-ai-losing-a-set-blackboard-value/1531897/1 "2023-12-17T02:46:38Z")

</div>

My AI Sets the Player Character as a Blackboard Value “TargetActorGoblin” and will chase me and attack me although periodically and for seemingly no reason it will lose the player as the Blackboard value and return to its Idle behaviors. There is nothing that is telling the AI to clear this specific blackboard value so I’m lost as to why the AI will randomly lose the value and return to the idle behaviors.

 ![A](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/7/1770c6152888172fdf09652452cb2df74343ce0a.jpeg)

 ![c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/d/4/6d47f348f9c0da8ce1205bf5fd21468dc65807f5.jpeg)

 ![b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/b/62be3980324d03c303541e31d232eb7c7116e4eb.png)  
 ![d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/2/a42eae7215ed4f2917128968d6f4350a1ddca18e.jpeg)

Any guidance would be appreciated.

---

<div class="post-metadata">

**Author:** ![N0dnarb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@N0dnarb](https://forums.unrealengine.com/u/N0dnarb)\
**Post date:** [December 18, 2023, 2:07am UTC](https://forums.unrealengine.com/t/why-is-my-ai-losing-a-set-blackboard-value/1531897/2 "2023-12-18T02:07:47Z")

</div>

Shameless bump, forgive me I’m stumped here and I’m unsure if I’m just doing something wrong.
