I have a 2D top down game going with a sprite animation on the player. It works fine with arrow keys. I added WASD keys to the input map and the player sprite will move now when those keys are pressed but it doesn’t turn or play the animation. Here’s how input map settings look:
From what I know, ui_[direction] is prebuilt into Godot. It is just the arrow keys. You will need to specify “right” instead of “ui_right” (repeat for every direction).
Unless you have code that runs get_input() when the script detects user input, the function will not run. You have to use func _input(event: InputEvent).