If you are a red plate you need to press the Left and Right arrow keys and if you are a blue plate for left you have to press 'A' and for right you have to press'S'.
I made this game using udemy and if you want to see my coding you can press see inside.