# How do I get 2 players on 1 keyboard?

**URL:** <https://forums.unrealengine.com/t/how-do-i-get-2-players-on-1-keyboard/2594388>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [July 7, 2025, 1:00am UTC](https://forums.unrealengine.com/t/how-do-i-get-2-players-on-1-keyboard/2594388 "2025-07-07T01:00:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![monkpotter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monkpotter](https://forums.unrealengine.com/u/monkpotter)\
**Post date:** [July 7, 2025, 1:00am UTC](https://forums.unrealengine.com/t/how-do-i-get-2-players-on-1-keyboard/2594388/1 "2025-07-07T01:00:27Z")

</div>

How do I get two players to use the same keyboard to play a game?  
I can spawn in both players, but I can only control one at a time. Depending on ticking and unticking skip assigning gamepad to player one, either player 1 or player 2 works, and each of them, works with the correct controls.

This is what I currently have setup:

 ![Screenshot 2025-07-06 205439](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/2/6c28a8127fe7da6caf42eb69deea7351ca4978c0.png)

---

<div class="post-metadata">

**Author:** ![HaydenPrismatic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/haydenprismatic/32/1223384_2.png) [@HaydenPrismatic](https://forums.unrealengine.com/u/HaydenPrismatic)\
**Post date:** [July 7, 2025, 1:54am UTC](https://forums.unrealengine.com/t/how-do-i-get-2-players-on-1-keyboard/2594388/2 "2025-07-07T01:54:09Z")

</div>

Hi there,

I am assuming you want each player to use different keys on the same keyboard to play concurrently. I haven’t tried this on my machine yet, but could you do something like the following, using enhanced input:

- Create an Input Mapping Context for each player, where you map the keys they use to some set of Input Actions, e.g. IA\_MovePlayerOne
- Each player Actor/Pawn/Character (however you have it set up) can be responsible for adding the relevant IMC, and binding the triggering of the various Input Actions to the applicable functions inside the class
- Then you would create your Local Players and spawn your Player classes as above, and with the IMCs added and all relevant functions bound they should just both work

Thanks,  
Hayden

---

<div class="post-metadata">

**Author:** ![monkpotter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monkpotter](https://forums.unrealengine.com/u/monkpotter)\
**Post date:** [July 7, 2025, 7:16pm UTC](https://forums.unrealengine.com/t/how-do-i-get-2-players-on-1-keyboard/2594388/3 "2025-07-07T19:16:52Z")

</div>

They each have their own IMC already, and both IMCs work correctly, but it keeps setting one of the players to use a controller when I want both on the same keyboard.

---

<div class="post-metadata">

**Author:** ![monkpotter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monkpotter](https://forums.unrealengine.com/u/monkpotter)\
**Post date:** [July 28, 2025, 9:24pm UTC](https://forums.unrealengine.com/t/how-do-i-get-2-players-on-1-keyboard/2594388/4 "2025-07-28T21:24:33Z")

</div>

I’ve finally figured it out. For those who need this in the future, you need to create a player in the level blueprint and add a tag to it, then have player 1 do all of the controls for both players.

 ![Screenshot 2025-07-28 172218](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/b/c1b7ea799f6b42d53f10eb5ca85ea94e5314cdb0.png)

---

<div class="post-metadata">

**Author:** ![monkpotter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monkpotter](https://forums.unrealengine.com/u/monkpotter)\
**Post date:** [July 28, 2025, 9:25pm UTC](https://forums.unrealengine.com/t/how-do-i-get-2-players-on-1-keyboard/2594388/5 "2025-07-28T21:25:06Z")

</div>

![Screenshot 2025-07-28 172245](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/e/afecc8af4ed12b99f19a99662ce365ff6f28b40a.png)
