I am trying to make the player change between walking and idle animations depending on if they are moving or still. The animations are working, and are transitioning correctly, but when the player transitions into their idle animation, the sprite moves to below the floor. When the player starts walking again, the sprite moves back to the correct position.
Walking:
Idle:
Thanks!