Using code tags properly (you can edit your post by hitting the edit link at the bottom of your post).
BTW: Unity - Scripting API: Input.GetKey
And on the top of all this, it’s not a Physics question and the title has nothing to do with the question.