Idle Animation for Zero Gravity Floating

Hey there!
I have a space station game that I’m adding floating animations to for players, but I’ve run into a problem. The falling and/or jumping animation (I wasn’t sure which one played for the floating, so I put the same animation in both) worked right, but the idle animation only works when you’re touching a floor. I tried changing the falling/jumping animation, but it played the animation the whole time that you moved, as well as floating.

What I would like help on:
How can I detect when the player is not moving, and play the idle animation whenever that happens, even if the player isn’t touching a surface?

All help is appreciated! Thanks!