# Virtual joysticks on all players control the first player only

**URL:** <https://forums.unrealengine.com/t/virtual-joysticks-on-all-players-control-the-first-player-only/443991>\
**Category:** Multiplayer & Networking\
**Tags:** bug, virtual-joystick, unreal-engine, Multiplayer, Android, question, Blueprint\
**Created:** [February 23, 2019, 11:33pm UTC](https://forums.unrealengine.com/t/virtual-joysticks-on-all-players-control-the-first-player-only/443991 "2019-02-23T23:33:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_abad6f831](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_abad6f831](https://forums.unrealengine.com/u/anonymous_user_abad6f831)\
**Post date:** [February 23, 2019, 11:33pm UTC](https://forums.unrealengine.com/t/virtual-joysticks-on-all-players-control-the-first-player-only/443991/1 "2019-02-23T23:33:18Z")

</div>

Hello, I am trying to develop a **multiplayer mobile game for android**. Thus, in project settings I enabled virtual joysticks after replicating animations and scripts to work for multiplayer. The problem is, **input from the virtual joysticks on all players(players in all windows) goes to the first client only(the first player in the first window)**. Project works fine otherwise on keyboard and mouse. How can I make it so that **input from virtual joysticks goes to its unique/relevant player?**  
Thank you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3221808d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3221808d](https://forums.unrealengine.com/u/anonymous_user_3221808d)\
**Post date:** [February 25, 2019, 12:14am UTC](https://forums.unrealengine.com/t/virtual-joysticks-on-all-players-control-the-first-player-only/443991/2 "2019-02-25T00:14:55Z")

</div>

Hmm, the joystick’s output just mimics another input key axis that is defined in the VirtualJoysticks Control’s array. The default is the gamepad thumbsticks X and Y. You would need to handle it like the gamepad sent it.

 ![269526-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/5/b8572840df06ee47bb655f0826bd1130851a77eb.png)

---

<div class="post-metadata">

**Author:** ![lelel1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lelel1](https://forums.unrealengine.com/u/lelel1)\
**Post date:** [March 29, 2019, 9:54am UTC](https://forums.unrealengine.com/t/virtual-joysticks-on-all-players-control-the-first-player-only/443991/3 "2019-03-29T09:54:27Z")

</div>

I have the same problem ,did you solve it?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_abad6f831](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_abad6f831](https://forums.unrealengine.com/u/anonymous_user_abad6f831)\
**Post date:** [March 30, 2019, 6:10pm UTC](https://forums.unrealengine.com/t/virtual-joysticks-on-all-players-control-the-first-player-only/443991/4 "2019-03-30T18:10:14Z")

</div>

I gave up on that and started working on a new idea/project

---

<div class="post-metadata">

**Author:** ![bbois1999](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bbois1999](https://forums.unrealengine.com/u/bbois1999)\
**Post date:** [December 31, 2022, 7:23am UTC](https://forums.unrealengine.com/t/virtual-joysticks-on-all-players-control-the-first-player-only/443991/5 "2022-12-31T07:23:48Z")

</div>

You could make the joysticks use any input you want, doesn’t matter if the thumbstick is what you have it set to. You could make it use the delete key to quit the game if you wanted. This doesn’t change the fact that it’s being run only on one client from another client. This is not in any way a solution

---

<div class="post-metadata">

**Author:** ![DeaDp0olLegend](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeaDp0olLegend](https://forums.unrealengine.com/u/DeaDp0olLegend)\
**Post date:** [August 6, 2023, 2:51pm UTC](https://forums.unrealengine.com/t/virtual-joysticks-on-all-players-control-the-first-player-only/443991/6 "2023-08-06T14:51:37Z")

</div>

Do you have solution about this?

---

<div class="post-metadata">

**Author:** ![Dieu18](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dieu18/32/1006354_2.png) [@Dieu18](https://forums.unrealengine.com/u/Dieu18)\
**Post date:** [February 28, 2024, 6:56pm UTC](https://forums.unrealengine.com/t/virtual-joysticks-on-all-players-control-the-first-player-only/443991/7 "2024-02-28T18:56:07Z")

</div>

Just play it in Mobile Preview, I was stuck in this issue for hours, I hard coded it to work on multiplayer, did literally everything but nothing worked.  
Then I just played it on Mobile preview and Bam, the problem Doesn’t Exist, its a bug IG.

 ![Screenshot 2024-02-28 235202](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/8/278ff2fbff253adda36910c2589a3349c82e8c0a.png)
