How can i make 2D TOPDOWN game with 2 players CO-OP

SO I’m having a problem with a controller for both players. I tried using Input.GetAxisRaw(“Horizontal”) and that’s work fine for one player but for another is a problem.,So I have tried to make a game that is top down for two players, but I can’t figure it out how can I make a controller for two players… I made a controller for one player with Input.GetAxisRaw(“Horizontal”)… and that works great but when I want to make for the second player. There is a problem.

i an also having this problem, i tried making separate inputs (up, down, left, right) but that just glitched