Use of AddYawInput/AddPitchInput outside of an axis event

Hey there,

The third person template reads the rotation input from the camera and applies it at the moment using the add Yaw Input and add Pitch Input blueprints, but I want to separate the reading of the input from the actual action. That’s why I read the input and save it in a variable:

image

When I try to apply the rotation according to the axis read, it does not work, the camera rotation remains the same (I’ve printed the value of the variables and they are fine):

But if I use the add Yaw/Pitch Input right after reading the input, then it does work:

If someone could explain to me what I’m missing it would make me a great favour.
Thanks in advance.