# How to get controller of mass actors in blueprint?

**URL:** <https://forums.unrealengine.com/t/how-to-get-controller-of-mass-actors-in-blueprint/2267231>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [January 9, 2025, 3:53am UTC](https://forums.unrealengine.com/t/how-to-get-controller-of-mass-actors-in-blueprint/2267231 "2025-01-09T03:53:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sutokuyu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sutokuyu](https://forums.unrealengine.com/u/sutokuyu)\
**Post date:** [January 9, 2025, 3:53am UTC](https://forums.unrealengine.com/t/how-to-get-controller-of-mass-actors-in-blueprint/2267231/1 "2025-01-09T03:53:16Z")

</div>

I am trying to get the AIController of an actor in the blueprint, so that I can call the Run Behavior Tree function and let the actor do something. If I drag the actor to the level, the Get Controller function simply works. But, if I use MassSpawner to generate the actors, the generated actors are not able to get the controller using the Get Controller function.

How can I get the controller of the mass actors?
