How to convert weird actor rotation?

Hi, when i add rotation to an actor i get a value that go from -90 to 0 and then from 0 90 with yaw an roll switching from -180 to 180 to 0.

If i need only pitch that go from 0 to 360 what i should do?

You can reproduce this in this way