Local Multiplayer 2 players

Hi, my name is Carla. I’m working on a fighting game (side scroller mode, I need only using A,D and W for jumping for player one and left,right,up for player2). I need to control two players with the same controller (keyboard) and I’ve tryied to do it like this (see image below) but player 2 is not working. Player one does. Can anyone help me? Thanks!

Carla,

The problem is that the keyboard always associated with controller 1.
What you need to do is just spawn the character and possess it with controller 1 (no need to spawn controller 2 unless you’re on a console).
You need a mechanism to distinguish who gets the input otherwise events would fire for both characters. Simply create a bool variable and expose it on spawn to mark who’s player 2. Then use branch nodes to prevent player 1’s events firing on player 2 and vice versa.