Animation State machine, Damage system errors

I apologize for my novice wording. I’m extremely new to unreal.
Following a couple of tutorials I’ve set up an animation state machine for a 2D sprite character. Everything seemed to be working properly until I tried to add in a hit state. Basically I don’t know how to properly set it up to only play the hit state when damage is received on the player and default to idle when it doesn’t, barring no other animation state conditions are being met. Can anyone please help me?
Here are a few images of my current blueprint and Animation State Machine.