Mouse cycling only in on direction

hello,

I want to rotate an object endless with the mouse in x direction. in the y direction the object should only tilt up and down, how can I prevent the mouse cycling in the x direction or how can I eliminate this.

regards

take the frame difference of the mouse and add it to the x/y angles, then clamp only the X and feed it back with a FrameDelay:

ClampMouseX.v4p (8.3 kB)