Help me with scripting I'm a beginner

Hello I am just getting started with unity so i decided to try the scripting tutorial.I’m at the part were we have to type in the script: transform.Translate(Input.GetAxis(“Horizontal”), 0, Input.GetAxis(“Vertical”)); and it’s telling me to put -1 for horizontal and 1 for vertical but when i do that Unity says : Input Axis -1 is not setup so it tells me to go to Edit->Project Settings->Input to set it up but when i went there to set it up i had no idea how to ? I’ve tried to so many times, can some one please help me i would really appreciate it.

Can you post your code it makes it easier to see what your trying to do, and where the error is. It sounds like your trying to do Input.GetAxis(“-1”). This means to get the state of the input called “-1”, you probably don’t have an input labeled -1 and that’s probably not what they meant for you to do.

I suspect that you read the tutorial wrong, just typing

transform.Translate(Input.GetAxis(“Horizontal”), 0, Input.GetAxis(“Vertical”));

would be enough to make the object move up and down and left and right using the arrow keys. Pressing left on the arrow keys is the same as entering -1 on the Translate() function.

Can we get a link to the tutorial you’re using and what page you’re on?