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:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms