# \#behaviour-tree

**URL:** https://forums.unrealengine.com/tag/behaviour-tree/3699.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [AI using Move To with Blackboard Vector behaves inconsistently compared to Move To Actor ](https://forums.unrealengine.com/t/ai-using-move-to-with-blackboard-vector-behaves-inconsistently-compared-to-move-to-actor/2731476)

<div class="topic-metadata">

**Author:** [@iNSANE\_SS](https://forums.unrealengine.com/u/iNSANE_SS)\
**Replies:** 1\
**Last updated:** [June 26, 2026, 3:29am UTC](https://forums.unrealengine.com/t/ai-using-move-to-with-blackboard-vector-behaves-inconsistently-compared-to-move-to-actor/2731476 "2026-06-26T03:29:05Z")

</div>

Hi everyone, I’m implementing a combat slot system where enemies move to a calculated position around the player instead of directly to the player’s location. My BT Service calculates a Vector called ChaseTarget every …

---

## [AI Won't move to their assigned positions after some time](https://forums.unrealengine.com/t/ai-wont-move-to-their-assigned-positions-after-some-time/2590134)

<div class="topic-metadata">

**Author:** [@WolfAlvein](https://forums.unrealengine.com/u/WolfAlvein)\
**Replies:** 0\
**Last updated:** [July 4, 2025, 10:54am UTC](https://forums.unrealengine.com/t/ai-wont-move-to-their-assigned-positions-after-some-time/2590134 "2025-07-04T10:54:07Z")

</div>

Hi everyone, I have a problem where I Spawn multiple NPC’s and assign them a position based on some EQS Tests and the available positions for each reach, there are three as of now but I could add more based on reach, rig…

---

## [Stop AI Behaviour Tree](https://forums.unrealengine.com/t/stop-ai-behaviour-tree/303473)

<div class="topic-metadata">

**Author:** [@Nitecon](https://forums.unrealengine.com/u/Nitecon)\
**Replies:** 14\
**Last updated:** [March 9, 2025, 1:12pm UTC](https://forums.unrealengine.com/t/stop-ai-behaviour-tree/303473 "2025-03-09T13:12:17Z")

</div>

Is there a way to stop the AI behaviour tree from running? In the AIController module you specify it to run with Event begin play → run behaviour tree and tell it which behaviour tree to run… All this is fine. I’m look…

---

## [\[RELEASED\] Behavior Tree Extension: Run Behaviors with Parameters and More](https://forums.unrealengine.com/t/released-behavior-tree-extension-run-behaviors-with-parameters-and-more/682753)

<div class="topic-metadata">

**Author:** [@Emrehan](https://forums.unrealengine.com/u/Emrehan)\
**Replies:** 4\
**Last updated:** [December 3, 2024, 2:01am UTC](https://forums.unrealengine.com/t/released-behavior-tree-extension-run-behaviors-with-parameters-and-more/682753 "2024-12-03T02:01:30Z")

</div>

Link to Marketplace / Documentation / Example Project Ever wanted to run Behavior Trees with parameters? Start encapsulating your Behavior Tree logic and reduce boilerplate code while using new powerful features provi…

---

## [Blackboard key value change](https://forums.unrealengine.com/t/blackboard-key-value-change/459808)

<div class="topic-metadata">

**Author:** [@Philipt235](https://forums.unrealengine.com/u/Philipt235)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 12:02am UTC](https://forums.unrealengine.com/t/blackboard-key-value-change/459808 "2024-07-25T00:02:00Z")

</div>

Is it possible to change a boolean type Blackboard Key using an on clicked event? The screenshot that is posted are the nodes that I created for the widget button. As far as I know, based on the nodes I created, Once…

---

## [Boss enemy get attack target distance for do another attack ](https://forums.unrealengine.com/t/boss-enemy-get-attack-target-distance-for-do-another-attack/1915454)

<div class="topic-metadata">

**Author:** [@EmirhanOnuk](https://forums.unrealengine.com/u/EmirhanOnuk)\
**Replies:** 1\
**Last updated:** [June 25, 2024, 1:43am UTC](https://forums.unrealengine.com/t/boss-enemy-get-attack-target-distance-for-do-another-attack/1915454 "2024-06-25T01:43:58Z")

</div>

Hi I am doing a boss for my game, but I am stuck on the behaviour tree. What I want to do is: If the boss is far enough to attack the target (example 2mt distance) his gonna start the attack. Right now he is it’s just a…

---

## [How do I enable Enhanced Input in a blueprint task?](https://forums.unrealengine.com/t/how-do-i-enable-enhanced-input-in-a-blueprint-task/1858208)

<div class="topic-metadata">

**Author:** [@Knuthnads](https://forums.unrealengine.com/u/Knuthnads)\
**Replies:** 4\
**Last updated:** [June 8, 2024, 9:58pm UTC](https://forums.unrealengine.com/t/how-do-i-enable-enhanced-input-in-a-blueprint-task/1858208 "2024-06-08T21:58:33Z")

</div>

Hopefully this is simple to answer, but how do I enable Enhanced Input in a blueprint task? I’m using Behaviour Tree for a dialogue system and would simply like to skip dialogue when I press a button like so: Curren…

---

## [Chasing AI character only changes speed once it has reached player character](https://forums.unrealengine.com/t/chasing-ai-character-only-changes-speed-once-it-has-reached-player-character/1885347)

<div class="topic-metadata">

**Author:** [@Glowingpumpkin](https://forums.unrealengine.com/u/Glowingpumpkin)\
**Replies:** 1\
**Last updated:** [June 2, 2024, 3:18pm UTC](https://forums.unrealengine.com/t/chasing-ai-character-only-changes-speed-once-it-has-reached-player-character/1885347 "2024-06-02T15:18:30Z")

</div>

SOLVED I’ve built an AI character that moves to random reachable points in radius, it chases the player using a behaviour tree and AI controller with sight sense. Within the behaviour tree I’ve added two speed tasks, o…

---

## [Get Path Length - Inconsistent Results](https://forums.unrealengine.com/t/get-path-length-inconsistent-results/285948)

<div class="topic-metadata">

**Author:** [@Nemecys](https://forums.unrealengine.com/u/Nemecys)\
**Replies:** 8\
**Last updated:** [May 29, 2024, 8:56am UTC](https://forums.unrealengine.com/t/get-path-length-inconsistent-results/285948 "2024-05-29T08:56:49Z")

</div>

Hi, Currently setting up a Behaviour tree and trying to put in a few IF’s or AND’s statements to try and control the AI’s behaviour, I am finding that the “Get Path Length” node is behaving slightly randomly and sometim…

---

## [Blackboard enum key default value problem](https://forums.unrealengine.com/t/blackboard-enum-key-default-value-problem/1690686)

<div class="topic-metadata">

**Author:** [@beeqooo](https://forums.unrealengine.com/u/beeqooo)\
**Replies:** 0\
**Last updated:** [February 15, 2024, 2:57pm UTC](https://forums.unrealengine.com/t/blackboard-enum-key-default-value-problem/1690686 "2024-02-15T14:57:05Z")

</div>

Hello there, I have a problem with behaviour tree & blackboard. At the first start my project all the enum values on the blackboard changing as default value. (First index of enum). How can i fix this?

---

## [FInd Random Patrol In AI Tutorial Not Working](https://forums.unrealengine.com/t/find-random-patrol-in-ai-tutorial-not-working/480027)

<div class="topic-metadata">

**Author:** [@ppcmdgamesx](https://forums.unrealengine.com/u/ppcmdgamesx)\
**Replies:** 4\
**Last updated:** [January 31, 2024, 7:01pm UTC](https://forums.unrealengine.com/t/find-random-patrol-in-ai-tutorial-not-working/480027 "2024-01-31T19:01:38Z")

</div>

I created almost the same setup as stated in this tutorial from the UE documentation: \[Behavior Tree in Unreal Engine - Quick Start Guide | Unreal Engine 5.1 Documentation\]\[1\] However, the AI enemy chases the player bu…

---

## [How to implement interrupts in a behavior tree](https://forums.unrealengine.com/t/how-to-implement-interrupts-in-a-behavior-tree/302331)

<div class="topic-metadata">

**Author:** [@Asher\_S\_Einhorn](https://forums.unrealengine.com/u/Asher_S_Einhorn)\
**Replies:** 8\
**Last updated:** [November 21, 2023, 1:33pm UTC](https://forums.unrealengine.com/t/how-to-implement-interrupts-in-a-behavior-tree/302331 "2023-11-21T13:33:55Z")

</div>

I have a problem. In the picture below the Service (1.) looks to see if the player has invalidated the cover the agent is currently in. It does this fine using a tick. This flips the state that the decorators at 3. use t…

---

## [Set Actor Reference in Behaviour Tree Task](https://forums.unrealengine.com/t/set-actor-reference-in-behaviour-tree-task/389347)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_92dcc670](https://forums.unrealengine.com/u/anonymous_user_92dcc670)\
**Replies:** 3\
**Last updated:** [December 28, 2022, 8:01pm UTC](https://forums.unrealengine.com/t/set-actor-reference-in-behaviour-tree-task/389347 "2022-12-28T20:01:08Z")

</div>

Hey, I have the following Problem: I’ve created a behaviour tree task. At the moment it is completely empty. The only thing I added is a public Actor reference variable. Now when I am calling the Task from within th…

---

## [Use "AI Move to" with no Character Pawn](https://forums.unrealengine.com/t/use-ai-move-to-with-no-character-pawn/309106)

<div class="topic-metadata">

**Author:** [@Brainshack](https://forums.unrealengine.com/u/Brainshack)\
**Replies:** 9\
**Last updated:** [November 30, 2022, 12:50am UTC](https://forums.unrealengine.com/t/use-ai-move-to-with-no-character-pawn/309106 "2022-11-30T00:50:24Z")

</div>

Hello, I have a project that is based on the twinstick shooter template. In the Template, the used pawn for the palyer, is directly onherited from APawn, and not from ACharacter. When I want to use the same pawn as an A…

---

## [Why BlackBoardValue Says Invalid And False?](https://forums.unrealengine.com/t/why-blackboardvalue-says-invalid-and-false/337740)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_bfa75279](https://forums.unrealengine.com/u/anonymous_user_bfa75279)\
**Replies:** 1\
**Last updated:** [November 28, 2022, 9:45am UTC](https://forums.unrealengine.com/t/why-blackboardvalue-says-invalid-and-false/337740 "2022-11-28T09:45:36Z")

</div>

I think my ai do not move towards the sound because the blackboard keys , one says invalid and another says false , i think that is the reason… it should move to the location where sound is heared , here is the photo …

---

## [How to force success in custom Behavior Tree Decorators?](https://forums.unrealengine.com/t/how-to-force-success-in-custom-behavior-tree-decorators/488922)

<div class="topic-metadata">

**Author:** [@ShadowShurikenStds](https://forums.unrealengine.com/u/ShadowShurikenStds)\
**Replies:** 1\
**Last updated:** [October 1, 2022, 4:25pm UTC](https://forums.unrealengine.com/t/how-to-force-success-in-custom-behavior-tree-decorators/488922 "2022-10-01T16:25:33Z")

</div>

I’m working on some custom blueprint-based behavior tree tasks and decorators for my game. I wanted to know if it’s possible to force success in a custom decorator. Similar to the actual “force success” decorator, that u…

---

## [NPC AI moves in one project but refuses to move in different project](https://forums.unrealengine.com/t/npc-ai-moves-in-one-project-but-refuses-to-move-in-different-project/554777)

<div class="topic-metadata">

**Author:** [@ghohsty](https://forums.unrealengine.com/u/ghohsty)\
**Replies:** 0\
**Last updated:** [May 11, 2022, 4:33pm UTC](https://forums.unrealengine.com/t/npc-ai-moves-in-one-project-but-refuses-to-move-in-different-project/554777 "2022-05-11T16:33:17Z")

</div>

I was having trouble getting my NPC ai character to move in my project so I created a new project using the ThirdPersonMap default template provided by UE… I then made an identical copy of the AI that had failed in my f…

---

## [Behaviour Tree AI Don't Detect My Player](https://forums.unrealengine.com/t/behaviour-tree-ai-dont-detect-my-player/491620)

<div class="topic-metadata">

**Author:** [@okanakguun](https://forums.unrealengine.com/u/okanakguun)\
**Replies:** 4\
**Last updated:** [December 7, 2021, 1:37pm UTC](https://forums.unrealengine.com/t/behaviour-tree-ai-dont-detect-my-player/491620 "2021-12-07T13:37:54Z")

</div>

Hello guys İ’m making arpg game and i have problem i trying ai patrolpathing and chase my character but ai dont chase my character only following patrolpath i need help alt text

---

## [Ai Factions](https://forums.unrealengine.com/t/ai-factions/487296)

<div class="topic-metadata">

**Author:** [@itsmemoulder](https://forums.unrealengine.com/u/itsmemoulder)\
**Replies:** 3\
**Last updated:** [August 16, 2021, 11:13am UTC](https://forums.unrealengine.com/t/ai-factions/487296 "2021-08-16T11:13:02Z")

</div>

Hello friends, Where to begin with having NPCs behave friendly or aggresively when seeing other NPCs belonging to a different faction? Two wizards from opposing magic guilds, if these NPCs see each other they should fi…

---

## [Performance Wise, Should I use Behaviour Trees or Standard BP script for NPCs? (Roaming AI)](https://forums.unrealengine.com/t/performance-wise-should-i-use-behaviour-trees-or-standard-bp-script-for-npcs-roaming-ai/409102)

<div class="topic-metadata">

**Author:** [@MikeyBGames](https://forums.unrealengine.com/u/MikeyBGames)\
**Replies:** 9\
**Last updated:** [July 10, 2021, 6:59am UTC](https://forums.unrealengine.com/t/performance-wise-should-i-use-behaviour-trees-or-standard-bp-script-for-npcs-roaming-ai/409102 "2021-07-10T06:59:42Z")

</div>

I’m trying to optimise my game for the best possible performance, so I’m wondering what’s better for performance? BP scripted events or Behaviour tree for basic roaming AI? All I’m trying to achieve is to have random AI…

---

## [Stop Ai BT Branch When Player Dead](https://forums.unrealengine.com/t/stop-ai-bt-branch-when-player-dead/476505)

<div class="topic-metadata">

**Author:** [@itsmemoulder](https://forums.unrealengine.com/u/itsmemoulder)\
**Replies:** 1\
**Last updated:** [December 28, 2020, 6:32pm UTC](https://forums.unrealengine.com/t/stop-ai-bt-branch-when-player-dead/476505 "2020-12-28T18:32:07Z")

</div>

Hello Friends, I have my Ai running a behaviour tree including a patrol, chase player, search for and attack etc. My Ai also uses the Ai Perception component. When an NPC Ai kills my character I need to be able to tel…

---

## [Behaviour Tree gets to Move To then resets the sequence](https://forums.unrealengine.com/t/behaviour-tree-gets-to-move-to-then-resets-the-sequence/464561)

<div class="topic-metadata">

**Author:** [@James\_M\_M](https://forums.unrealengine.com/u/James_M_M)\
**Replies:** 3\
**Last updated:** [May 2, 2020, 7:32pm UTC](https://forums.unrealengine.com/t/behaviour-tree-gets-to-move-to-then-resets-the-sequence/464561 "2020-05-02T19:32:45Z")

</div>

I’m fairly new to behaviour tree’s and I can’t find anything that helps online for my issue. I have a AI character that has 4 states (Idle, Follow Player, Roam, Search for Point Of Interest). I have successfully been ab…

---

## [Add movement input for AI too slow](https://forums.unrealengine.com/t/add-movement-input-for-ai-too-slow/464293)

<div class="topic-metadata">

**Author:** [@CorbisHETB](https://forums.unrealengine.com/u/CorbisHETB)\
**Replies:** 2\
**Last updated:** [April 27, 2020, 6:50am UTC](https://forums.unrealengine.com/t/add-movement-input-for-ai-too-slow/464293 "2020-04-27T06:50:17Z")

</div>

Hi! Currently working on AI, and have encountered a problem with how it receives input. I want the AI to check its distance to the player, and move towards it if the distance is a certain length. If the AI is close eno…

---

## [Getting Started with AI Live Training Help](https://forums.unrealengine.com/t/getting-started-with-ai-live-training-help/462779)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7b4bf6de](https://forums.unrealengine.com/u/anonymous_user_7b4bf6de)\
**Replies:** 2\
**Last updated:** [April 2, 2020, 2:19pm UTC](https://forums.unrealengine.com/t/getting-started-with-ai-live-training-help/462779 "2020-04-02T14:19:13Z")

</div>

Hi all, I am following a long to the ‘Getting Started with AI’ live training video and I have reached about the 1hr 11min mark where the AI will chase the player, however for me the AI does not chase me and continues to…

---

## [AIs sharing the same Behaviour Tree Influences each other](https://forums.unrealengine.com/t/ais-sharing-the-same-behaviour-tree-influences-each-other/456133)

<div class="topic-metadata">

**Author:** [@FishOmelette](https://forums.unrealengine.com/u/FishOmelette)\
**Replies:** 3\
**Last updated:** [November 16, 2019, 7:07am UTC](https://forums.unrealengine.com/t/ais-sharing-the-same-behaviour-tree-influences-each-other/456133 "2019-11-16T07:07:47Z")

</div>

Hi! Currently I have spawn 3 enemies of the same type and using the same AI and Behaviour Tree. I am trying to make only those that are on screen to attack while others off screen remain passive. This is my current code. …

---

## [Enemy to face Player after an attack animation](https://forums.unrealengine.com/t/enemy-to-face-player-after-an-attack-animation/456124)

<div class="topic-metadata">

**Author:** [@FishOmelette](https://forums.unrealengine.com/u/FishOmelette)\
**Replies:** 2\
**Last updated:** [September 28, 2019, 5:58pm UTC](https://forums.unrealengine.com/t/enemy-to-face-player-after-an-attack-animation/456124 "2019-09-28T17:58:10Z")

</div>

Hi, I’ve been searching online for ways to make an actor face the player but the code just doesn’t seem to work with my character for some reason. I used a similar code for my locking on system for my player (which worke…

---

## [Casting to Enemy in Service of Behaviour Tree](https://forums.unrealengine.com/t/casting-to-enemy-in-service-of-behaviour-tree/456131)

<div class="topic-metadata">

**Author:** [@FishOmelette](https://forums.unrealengine.com/u/FishOmelette)\
**Replies:** 1\
**Last updated:** [September 28, 2019, 1:24pm UTC](https://forums.unrealengine.com/t/casting-to-enemy-in-service-of-behaviour-tree/456131 "2019-09-28T13:24:10Z")

</div>

Hi, I’m having trouble with casting to an Enemy in the Service of its Behaviour Tree. I have other similar Services within the same Behaviour Tree but for some reason, this cast keeps failing although no error shows up. …

---

## [How do I make animations blend for NPC](https://forums.unrealengine.com/t/how-do-i-make-animations-blend-for-npc/454068)

<div class="topic-metadata">

**Author:** [@Cruddynight](https://forums.unrealengine.com/u/Cruddynight)\
**Replies:** 2\
**Last updated:** [August 19, 2019, 2:38pm UTC](https://forums.unrealengine.com/t/how-do-i-make-animations-blend-for-npc/454068 "2019-08-19T14:38:18Z")

</div>

Hello! So I’ve been trying to setup an NPC, who is just walking around and doing random gestures. I’ve got a few animation packs and they’re all working on the same skeleton. The problem is - when I set up a behaviour t…

---

## [Move To node in Behaviour Tree does nothing](https://forums.unrealengine.com/t/move-to-node-in-behaviour-tree-does-nothing/453200)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_70a7fe3a](https://forums.unrealengine.com/u/anonymous_user_70a7fe3a)\
**Replies:** 12\
**Last updated:** [August 1, 2019, 10:13pm UTC](https://forums.unrealengine.com/t/move-to-node-in-behaviour-tree-does-nothing/453200 "2019-08-01T22:13:35Z")

</div>

Hello, I have set up a simple (very simple) Behaviour Tree and I wanna make a pawn move towards a point. This is what I have: Am I doing something wrong cause the pawn doesn’t move at all?

---

## [Ai rotation problem](https://forums.unrealengine.com/t/ai-rotation-problem/296215)

<div class="topic-metadata">

**Author:** [@Vittix](https://forums.unrealengine.com/u/Vittix)\
**Replies:** 17\
**Last updated:** [June 10, 2019, 3:48pm UTC](https://forums.unrealengine.com/t/ai-rotation-problem/296215 "2019-06-10T15:48:14Z")

</div>

I’m trying to create an AI for some animals that wander around. We have created a navigation area and set a behaviour made of 2 moments: 1 - the search for the place to reach 2 - move tree basic function (move to) Ev…

[Next page](https://forums.unrealengine.com/tag/behaviour-tree/3699.md?match_all_tags=true&page=1&tags%5B%5D=behaviour-tree)
