Topic was automatically imported from the old Question2Answer platform.
Asked By
Dandevuni
When i add anumation in my input.is_action_pressed(“forward”) amd then i do animationplayer.play(“the animation”) and then i wana make like a sprint input,input.is_action_pressed(" SPRINT ") and the animation of sprint but the animation of the sprint just dont play,itnjust stuck and its still moving,if you dont understand,ask me mirr
Your desciption is barely understandable, but I think I get it. You check input continously, so as long as You press SPRINT your animation tries to play starting from frame 0. You need to add some boolean condition for sprinting, so it starts ONCE when You press sprint and ends when You release it.
Could you show an example because im still a bigginer huhu