Input.GetAxis() is not working

I was having a problem when I typed Input.GetAxis(“Vertical”); just like Rick did but when I ran the Unity, the player was not moving a single bit. Please help me.
Here is my script:


And here is the error:
image
Please help me out.

Hi, Welcome to the community. You have misspelled Vertical. On line 15 you spelled it “Verical”.

THANK YOU SO MUCH!!!I AM SO STUPID. :sweat_smile:

Privacy & Terms