Check the script is attached to the `Player` node. - Check the project has `ui_left`, `ui_right`, `ui_up`, `ui_down` defined (Project → Project Settings → Input Map). They are by default; if missing, add them. - Check `velocity` is being set (print it inside `_physics_process`).