How to play a flipbook animation to fire a projectile while jumping or falling

How can I play my jump firing flipbook for when my character Jumps or is Falling? Any ideas? Thanks in advance :smiley:

You will need to create a animation state machine. In the state machine it sets the flipbook based on whether the player character is moving, jumping, firing etc.
Check out the paper 2d tutorials.

I have done that. I just don’t know where to call the function?? I have a Jump animation which switches to a fall animation. So how do I call the jump throw animation to blend over the 2. when I jump and fire I want the “JumpThrowAnimation” to play. If I can get this to work I can do my JumpAttack, RunAttack and RunThrow animations aswell. Right now my character plays the throw animation in Idle Position.