# How can I set walk speed in Behavior Tree Task?

**URL:** <https://forums.unrealengine.com/t/how-can-i-set-walk-speed-in-behavior-tree-task/300715>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [December 5, 2014, 9:49pm UTC](https://forums.unrealengine.com/t/how-can-i-set-walk-speed-in-behavior-tree-task/300715 "2014-12-05T21:49:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d1ce42db](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d1ce42db](https://forums.unrealengine.com/u/anonymous_user_d1ce42db)\
**Post date:** [December 5, 2014, 9:49pm UTC](https://forums.unrealengine.com/t/how-can-i-set-walk-speed-in-behavior-tree-task/300715/1 "2014-12-05T21:49:48Z")

</div>

Hi All,

I’m having a little diffuculty changing the player walk speed in a behavior tree task. I am basically letting my AI randomly walk aroud, if he sees a tarket I want him to run to it, if he loses it I want him to continue walking.

I assumed a couple of custom tasks could have done this but I am having difficulty getting the task to work as I want. When the behavior tree reaches this task it just sits (doesn’t continue along the sequence in the tree) on it and my AI stops moving.

Any Ideas?

 ![23102-untitled-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/e/abe1db33d09bf6b7414dbcd659e3565123207bfa.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d1ce42db](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d1ce42db](https://forums.unrealengine.com/u/anonymous_user_d1ce42db)\
**Post date:** [December 7, 2014, 12:04pm UTC](https://forums.unrealengine.com/t/how-can-i-set-walk-speed-in-behavior-tree-task/300715/2 "2014-12-07T12:04:04Z")

</div>

Bump as I really need this sorting, it is holding up the progress of my project.

Am I maybe going about this the wrong way (is there a better method to acomplish this?)
