How do I "orient rotation to movement" for a pawn?

This is my first time building a game and I need some help.
What should I do to set the rotation to movement direction ?

Nevermind, I have made a character blueprint and copied everything from the pawn to the new bp. This is the solution to anyone with the same problem