Input.GetAxis("Horizontal") - Keyboard don't respond.
When i press "a" or "d" the character don't move.
Have you checked that your Speed variable is greater than 0 and that your script is attached to your character?
Also, you might check that your horizontal input is set to the 'a' and 'd' keys. Go to Edit > Project Settings > Input, and under Horizontal you will see what keys are currently set. If I remember right, I once had an issue with this because only the left and right arrow keys were registering by default.
Good day.
You must solve this by you, or give more specifyc information.. can we see the code? Can you confirm if the code eneters inside the if sentence of detecting the Input?
Are you sure your code for moving is correct? you need to test everything, line by line, to be sure what is working and what is not...
Your answer
![](https://koobas.hobune.stream/wayback/20220612171547im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Using GetAxis with UI Buttons 0 Answers
GetAxis help? 1 Answer
FPS Microgame tutorial can't use mouse or keyboard during initial playtest -1 Answers
Input Keyboard GetAxis not working 0 Answers