- Home /
Animation not working when UI buttons are pressed
I made a function moveRight() which enables the the player to move right along with a run animation, which is working perfectly when i use Input.GetKey but when i call the same function with a button the player moves but the run animation doesnt work. Do UI buttons require something specific for animations?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612123904im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to disable button animation fade? 1 Answer
How to move player after animation 2 Answers
Character faces wrong way for one frame only. Why? 1 Answer
How to make a script for "jetpack" boost animation 1 Answer
Player not moving 1 Answer