and to save file space etc, instead of using 2 seperate idle animations, simply mirror the exiting player sprite.
so use mouse.x < player.x -> set mirrored = true
mouse.x > player.x -> set mirrored = false
this will mirror all animations, not just the one idle as well