Question by
viber-tron · Aug 11, 2018 at 08:17 PM ·
animationanimatorscripting beginner
how can i stop a specific animation in the middle by code?
I have an animator that is playing the animation of walking while the button is pressed but when I release the button the animation continues until it finishes, how do I stop it and continue in another animation
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612172630im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Animation only plays once 0 Answers
Cannot get an animation to play upon key press 0 Answers
Can't play an animation from the Animator 1 Answer
stickman animation 1 Answer
Problems with using the same Animator Controller on multiple objects. 0 Answers