Can you add same controls in P2P?

Hey! I’ve just watched Gem Dev’s tutorial on a P2P platformer. In the video, he assigned the WASD controls to Player1, and arrow keys to Player2. I was just wondering if you could have the same controls for both players? Thanks!

Yes, but you would have to make sure only the player controlled by yourself listens for input. Make sure to add a condition with a variable or something to prevent the other object from moving.

Oh, I think I found a way from your comment! Thanks!

Update: Oh, doesn’t look like it works.

Could you elaborate a bit, in which way would I setup the variables?