How to play animation when in Swimming or Flying mode?

I’m clueless when it comes to using the BluePrints, even though they are docs to help me out. I just wan to have a animation play when I down up or down. Instead my character just freezes.