# How to get controller from AI actor?

**URL:** <https://forums.unrealengine.com/t/how-to-get-controller-from-ai-actor/430628>\
**Category:** Character & Animation\
**Tags:** actor, controller, cast-to, unreal-engine, question\
**Created:** [July 31, 2018, 8:21am UTC](https://forums.unrealengine.com/t/how-to-get-controller-from-ai-actor/430628 "2018-07-31T08:21:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ng\_min\_teck](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ng\_min\_teck](https://forums.unrealengine.com/u/ng_min_teck)\
**Post date:** [July 31, 2018, 8:21am UTC](https://forums.unrealengine.com/t/how-to-get-controller-from-ai-actor/430628/1 "2018-07-31T08:21:53Z")

</div>

Hello I want to get the Ai direction and speed for animation blueprint, I have no ideas how I can get the controller from AI actor?

 ![248978-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/9/0f9d2764e377de4bdef33817d107292a151caf56.png)

 ![248979-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/e/5/1e5d4dd8445c96376dbda3e8d110bce27b14f1bf.png)

---

<div class="post-metadata">

**Author:** ![ng\_min\_teck](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ng\_min\_teck](https://forums.unrealengine.com/u/ng_min_teck)\
**Post date:** [August 1, 2018, 7:58am UTC](https://forums.unrealengine.com/t/how-to-get-controller-from-ai-actor/430628/2 "2018-08-01T07:58:50Z")

</div>

anyone?

my dark elf warrior is a character blueprint

---

<div class="post-metadata">

**Author:** ![Iohoilpotere](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Iohoilpotere](https://forums.unrealengine.com/u/Iohoilpotere)\
**Post date:** [August 1, 2018, 12:31pm UTC](https://forums.unrealengine.com/t/how-to-get-controller-from-ai-actor/430628/3 "2018-08-01T12:31:20Z")

</div>

Instead of “Get Controller” node, who get a Controller reference, you should use “Try to get pawn owner” node, who return a Pawn reference compatible with your cast.
