How to know where the camera is rotating and the intensity

Title says it all, I tried looking on the forum but I couldn’t fnd anything…

I tried this:

local axis, angle = (cameraCFrame * previousCFrame:Inverse()):ToAxisAngle()

and then this

print(axis.Y * angle)

To get the intensity of the rotation on the X axis (which is Y in the orientation property)
Any help is welcomed, thanks alot.