Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | pointlessperson1 |
So this is my setup
if Input.is_action_pressed("ui_right"):
$AnimatedSprite.play("walkright")
elif Input.is_action_pressed("ui_left"):
$AnimatedSprite.play("walkleft")
How do i make it that after they have being walking they will stay facing the direction they were looking