How do I make my character initiate a falling animation after running off a ledge or being hit off a ledge?

Yeah I have it set up so that when he touches the ground it resets him back to the idle stance, but that’s not the issue I’m having. What I mean is I have hazards in the level that are, essentially pits. Think Donkey Kong or Super Mario. It’s a classic 2D side-scroller hazard. When my character falls down into the pit, he continues his running animation indefinitely. What I want him to do is as soon as he detects that he isn’t standing on solid ground, to go into the sprite used for the jump animation so he looks like he’s actually falling down the pit instead of continuing the running animation as he falls to his doom. Thanks for the quick response, by the way. I thought it’d be days before someone got back to me hahaha

GR1M