How do i set pitch axis to 0?

Hi, i want the pitch axis to be reset to looking straight down when someone clicks right mouse button,but first i need to set it to 0. i made this to test it but doesn’t work? As far as i can see there’s nothing wrong with my logic?
This will return the opposite of whatever the pitch value is as it is so the “Add controller pitch input” node should always set the pitch back to 0.
i.e.
pitch = 10
10 - (10*2) = -10 so therefore if the pitch was 10 then 10±10 = 0?
I made a blueprint which works for this

however it doesn’t work, when i plug it into the “Add Controller Pitch Input” node the rotation always ends up being -270 then -22 then -62 then -90 in that sequence? any idea why or of a alternative way of doing it?

So you just want the PERSON, is he is looking at the sky, press X and he is now looking at ground? Or at 50 degree to now be looking at 230 degree?

yes, final aim is to have the person to be looking straight down from the origin, no matter where they were looking before, so i want to reset whatever pitch they were looking at to be 0, then -90 or whatever angle straight down is.

Ohh, got you

Just set world rotation. Are you in FP?

Hi, thanks so much for responding, i tried this, but while the translation works, the rotation doesn’t, it still stays pointing the same way as before (Spawn location and rotation is what i’m after)

Is this what you meant?