how to implement character mechanics like flappy bird

Right now I have a script that allows the bird to jump up and down. But I have also added an animation that allows the bird’s wings to flap up and down by using sprites. But when I allow the animation for the wings to move up and down, my script for making the bird jump no longer works. So basically, I would like to know how to make it so that the animation for the wings work while I am still able to control the bird (by making him jump). All help is appreciated! Thanks!!

I found an amazing flappy brird clone source on github and it has complete solution. And i sure you will find your solution in this :slight_smile:
https://github.com/unity3diy/Flappy-Bird-Clone