Hi, I have a direction variable set up like this
var player_direction = Input.get_vector("left","right","up","down")
The goal is to have an animation variable based on direction, like:
var anim_name = "idle" + str(player_direction)
Is it possible to return the key names from the Input.get_vector method? or do I need to convert them manually using if statements?