Is there a more efficient wat to limit a component's rotation?

So, this is my camera look up/down code. I don’t want it to go past 90 in either direction. I’m assuming it’s the same for your turret, but in Z:

2 Likes