2D side scroller - land animations

seems like a good thread as any to piggyback off of for a similar problem I’m having with my own animation graph.

Sorry for how messy it is, but anyways, much like the poster I’m having an issue where if my player character lands on the ground when they’re in the middle of their melee attack animation, the character will enter into their falling or landing animation (I’m not sure which one) for a brief second before returning to their idle position. Ideally, the character should instead directly transition from their melee attack animation to their idle position if they land before the attack animation is finished.

Too elaborate upon , how everything currently works with how the various animations at play flow from one another is that [Melee: Fall → Fall Loop] via the ‘IsAttacking boolean == false’ transition and then [Fall Loop → Landing] via the ‘IsJumping NOR IsFalling boolean variable == false’ transition before finally transitioning back into the idle/walking/running pose.

The problem I’m having is that I can’t figure how out to create a transition that would allow the Melee: Fall animation to go directly to the Idle/Walk/Run animation if the player is touching the ground. I tried the setting the transition as ‘IsJumping NOR IsFalling boolean variable == false’ but that didn’t work. I think I need both the ‘IsAttacking boolean == false’ and ‘IsJumping NOR IsFalling boolean variable == false’ to get it to work properly but I don’t know how to set it up properly. I’m also not sure whether or not that it would work even if I could get it set up correctly, as I’m just making an educated guess based on my limited knowledge.