The idle animation switches or if you switch during running one of the above will pause. I also thought of a marker then got engaged in the level designs that forgot. Your comment made me remember. I will work on it some more and include some sounds deaths and enemies. But that is for future.
Thanks for playing my first made game😊.