# Behaviour tree decorator question

**URL:** <https://forums.unrealengine.com/t/behaviour-tree-decorator-question/852988>\
**Category:** AI\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [April 5, 2023, 4:40pm UTC](https://forums.unrealengine.com/t/behaviour-tree-decorator-question/852988 "2023-04-05T16:40:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Riipitud1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/riipitud1/32/605835_2.png) [@Riipitud1](https://forums.unrealengine.com/u/Riipitud1)\
**Post date:** [April 5, 2023, 4:40pm UTC](https://forums.unrealengine.com/t/behaviour-tree-decorator-question/852988/1 "2023-04-05T16:40:28Z")

</div>

How to achieve the same effect as in the image, but with checking if the “CurrentHour” is larger then 22 OR smaller then 9.  
Currently it just checks the first value and if it isnt right, it fails.

 ![ue5snip](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/e/74e59f4ca3c0a6fdc4c6ef7399784a60fa512dca.png)

---

<div class="post-metadata">

**Author:** ![zeaf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zeaf/32/1108035_2.png) [@zeaf](https://forums.unrealengine.com/u/zeaf)\
**Post date:** [April 5, 2023, 5:14pm UTC](https://forums.unrealengine.com/t/behaviour-tree-decorator-question/852988/2 "2023-04-05T17:14:04Z")

</div>

Add a Composite decorator, which allows you to combine multiple decorators with logic operations
