how to make the character and camera follow the mouse movement

I want to make the character follow the camera movement like when my mouse turn left the camera and character turn left when up the character and camera turn up …
and without moving the entire character like when you stand up idle and turn it turn the whole body like you don t need to move if you turn i hope you understand.
and btw i m in third person mode

When turning (Input Axis Turn):

Add Actor World Rotation (z Yaw) to the Pawn.

That should take care of turning the character.

In order to run in the direction you’re facing, onMoveForward:

Get Player PawnGet Actor Forward VectorAdd Movement Input to Pawn.