# Behaviour Tree task node, Vector KeyValue in blackboard invalid

**URL:** <https://forums.unrealengine.com/t/behaviour-tree-task-node-vector-keyvalue-in-blackboard-invalid/138901>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [February 26, 2020, 9:36am UTC](https://forums.unrealengine.com/t/behaviour-tree-task-node-vector-keyvalue-in-blackboard-invalid/138901 "2020-02-26T09:36:10Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![HugBeg2000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HugBeg2000](https://forums.unrealengine.com/u/HugBeg2000)\
**Post date:** [January 27, 2022, 2:56pm UTC](https://forums.unrealengine.com/t/behaviour-tree-task-node-vector-keyvalue-in-blackboard-invalid/138901/6 "2022-01-27T14:56:09Z")

</div>

Hi I am following that introduction to Behavior trees and thank you for helping me with that issue.  
I now have a problem with the “has line of sight” decorator it is not changing the bool to true.  
I have my own Topic open if you know the answer you could maybe answer there.

> [@Behavior Tree Decorator not working](https://forums.unrealengine.com/t/behavior-tree-decorator-not-working/491890):
>
> Hi! So I have been following this tutorial : [Behavior Tree Quick Start Guide | Unreal Engine Documentation](https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/ArtificialIntelligence/BehaviorTrees/BehaviorTreeQuickStart/) And everything should be the same I will post images so its easier to understand the problem later. But I have a Behavior Tree (BT) and I dont really understand decorators and the first thing it checks is if it has a Line of Sight (LOS). But it doesnt change the value even if I am infront of it, and I think it should change if the actor with player tag is in LOS of it. Here a…

Thank you and anyone else who tries to help me!

I am just stupid, I forgot to set this bool to true 😅  
It is inside of the AI controller  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/e/feea10e4bec01b0765d95b3b02c6f087ecd12694.png)

---

_[View the full topic](https://forums.unrealengine.com/t/behaviour-tree-task-node-vector-keyvalue-in-blackboard-invalid/138901)._
