Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development How to Make a Video Game Player Input and Cameras Move the Player with Animation

Sean Hernandez
PLUS
Sean Hernandez
Courses Plus Student 9,350 Points

Input Axis Vertical is not setup error when running game

Im getting an input Axis Vertical error in Unity when trying to test my frog movement. Ive followed the coding and checked it word for word letter for letter and it matches but im still getting the Input Axis Error. Any way to solve this and what it means?

Hi! I had the same problem as you did, but it's an easy fix. Just make sure you have the word "Vertical" spelled right in the Input.GetAxisRaw () function. Either that, or you didn't specify the axis input axis for vertical (which i assumed you didn't cause you copied the code word for word.) when you time up close and personal with your code, it gets extra difficult to spot little mistakes and errors in spelling where you'd least expect it.

Let me know if this helped!

Tyler Corum
Tyler Corum
3,514 Points

I had the same issue but with Horizontal. Capital letters matter. Also, reloading Unity resolved my issue after I truly did correct it, but the red text still showed on the bottom.