Wrong animation playing

I was wondering if anyone could help me out with an animation problem I’m having.

So I have character who has an air dash ability & a ground slide ability and I’ve been recently trying to add the animations for the air dash. For some reason though when the character performs the air dash move instead of playing the proper animations, for some reason the character instead uses the ground slide animations. despite the fact that I made the ground slide to be only able to be performed while on the ground.

Air Dash blueprint:

Ground Slide blueprint:

Animation blueprint event graph:

Ground Slide animation blueprint:

Air Dash animation blueprint:

Can anyone please help?

Okay, so after fiddling around a bit, I’ve finally found what’s causing the problem.

The source of the problem is the Set Movement Mode: Flying that’s used to keep the character suspended in the air for the duration of the air dash.

If I remove the node then the animation for the air dash will start working. is in itself a problem as I just stated that I need the Set Movement Mode: Flying to keep the character in the air while they’re air dashing.

Does anyone have any ideas on how I can keep the character in the air with the proper animations?

I’ve found some more evidence that the Set Movement Mode: Flying is causing the problem. Recently I discovered that if the player character makes contact with the ground while air dashing, the proper animation is play. This indicates that the air dashing animation setup is working but for some reason it only triggers when the player is touching the ground when the Set Movement Mode: Flying node is incorporated into the air dash blueprint.