# Get all actors controller

**URL:** <https://forums.unrealengine.com/t/get-all-actors-controller/412191>\
**Category:** Blueprint\
**Tags:** get-all-actors-from-, unreal-engine, UE4, Blueprint, question\
**Created:** [December 13, 2017, 8:12pm UTC](https://forums.unrealengine.com/t/get-all-actors-controller/412191 "2017-12-13T20:12:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![g0n](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/g0n/32/632978_2.png) [@g0n](https://forums.unrealengine.com/u/g0n)\
**Post date:** [December 13, 2017, 8:12pm UTC](https://forums.unrealengine.com/t/get-all-actors-controller/412191/1 "2017-12-13T20:12:26Z")

</div>

Hello all! I expose my problem:  
When you press V, just get all players who have a Controller, print how many are and enter in a For Each Loop just printing each controller on screen.

What I get **from Server** is 2 controllers and list each of them as SurvivalController, SurvivalController1.

But **from Client** I just get 1 controller and just print SurvivalController.

What am I doing wrong?  
Need that Client to see all controllers.

Thank you

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/a/cfad6ccc7e64b05ef1cc84b8aac363d8e0ebae86.png)

---

<div class="post-metadata">

**Author:** ![SouthB2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SouthB2](https://forums.unrealengine.com/u/SouthB2)\
**Post date:** [December 13, 2017, 9:28pm UTC](https://forums.unrealengine.com/t/get-all-actors-controller/412191/2 "2017-12-13T21:28:06Z")

</div>

Clients cant see all the controllers, only the server can. With my limited noob skills I would think that the way to do it would be to ask the server to build the list of controllers and then perhaps using repnotify or something get the list from the server

---

<div class="post-metadata">

**Author:** ![Syalen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syalen](https://forums.unrealengine.com/u/Syalen)\
**Post date:** [December 13, 2017, 10:23pm UTC](https://forums.unrealengine.com/t/get-all-actors-controller/412191/3 "2017-12-13T22:23:44Z")

</div>

That’s perfectly normal actually: a client can only see its own controller.  
If you need to pass variables through replication, I can suggest you to use the PlayerState blueprint instead, because a client can see the PlayerState of all other clients (and of course the server can access them too).

---

<div class="post-metadata">

**Author:** ![g0n](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/g0n/32/632978_2.png) [@g0n](https://forums.unrealengine.com/u/g0n)\
**Post date:** [December 13, 2017, 11:09pm UTC](https://forums.unrealengine.com/t/get-all-actors-controller/412191/4 "2017-12-13T23:09:23Z")

</div>

Thanks for both answers! Yeah after googling I found Syalen is right.  
With this you can just print how many players are in the server

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/e/ede032a9066840ec6dd6c8c2cc43fd69e62f08fa.png)

With this one you could get each player id from the server using an array!  
Will print 257 258 …

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/d/efd512a992bad6d06735b7d508400d9e9d8d20b6.png)

I leave this just in case someone could need it. Dont follow the lines strictly, just the boxes and logic.

Anyway, I wanted to know this just to see if that was the best way to set visibility to true to a Particle Emitter which is inside all Characters from all players, triggered from the client but doesnt work. Thnx anyway.

Could you help me with this post??

> **[particle systems from all players only visible by local controller](https://forums.unrealengine.com/questions/735301/particle-systems-from-all-players-only-visible-by.html)**
>
> Hello. I have a doubt and dont know how to solve it: The thing is that I want to spawn, in a multiplayer game, a particle system linked to each Character/Player. I would like to set the visibility to hidden by default. When a player press V key,...
