Character moves but does not rotate

I tell you. I am doing a pacman project and I want it to scroll but not rotate or rotate on its axis. it just moves and when I change direction, it stays immobile, like it goes back but looks at the same place. is there a way for pacman to turn following the direction? Thank you

[image]