How to set location/rotation for FPS characters?

I’m doing it with a Xbox button press: