How to make HUD move like in Crysis 3?

I’m trying to create a HUD that’s similar to Crysis 3:

The HUD will move when the player moves and stops when he is not moving. I tried checking if the player is moving and then play an animation for the HUD but it doesn’t seem to be moving.