Super noob. 2D will only melee to the right. help please.

following a tutorial. I’ve learnt a lot pretty fast, however in the 2d side scroller i am making, the player can shoot right or left but when i melee left its only the melee right animation. i got a flip book for the animation.