How to change where player is looking?

Hardcode? is that C++. BTW started using unreal back in mid November