# How do make an AI runaway when it is hurt by the player?

**URL:** <https://forums.unrealengine.com/t/how-do-make-an-ai-runaway-when-it-is-hurt-by-the-player/469087>\
**Category:** AI\
**Tags:** ai-navigation, Behavior-Tree, damage-sense, unreal-engine, question\
**Created:** [August 3, 2020, 1:13am UTC](https://forums.unrealengine.com/t/how-do-make-an-ai-runaway-when-it-is-hurt-by-the-player/469087 "2020-08-03T01:13:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnarHaneul](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnarHaneul](https://forums.unrealengine.com/u/AnarHaneul)\
**Post date:** [August 3, 2020, 1:13am UTC](https://forums.unrealengine.com/t/how-do-make-an-ai-runaway-when-it-is-hurt-by-the-player/469087/1 "2020-08-03T01:13:06Z")

</div>

I want to make an AI run away when it’s hurt by the player and wait some time and then come back to the player using the behavior tree? How do I do that?
