Restricting Rotation

I have created this rotating object & basically what I’m trying to do is stop the movement from happening once it gets to a certain point on both the - & + on the Mouse Y Axis.

I understand using a Clamp (Float) could be used to stop the rotation, I’m just having trouble trying to set it up.