Problem with sitting Animation

Hello guys! So I am new with programming and making games so i decided to watch Alan Noons “Creating a 2D-Side-Scroller Live Training” and in Part 2 there he is implementing the method that when the character touches the ground he plays a sitting animation. I am doing the same but a frame before he stands up to go in the standing animation my character changes the sit view and looks in the wrong direction. It looks awfull…

Do you have any tips for me?

Much greetings from Germany :slight_smile:





Here some pics so i hope you understand my problem :slight_smile: