Mouse Look Script

Hey, im using the MOuse look script that comes with unity.

I have changed Min and Max Y to 90 to the player can only look up and down.

I want it so the player can only look 90Degrees each way, and it stops them if they go any further.
I did that in the preset i changed MinX to -90 and maxX to 90 however it doesn’t stop me from turning in a 360 motion.

Can someone tell me how i can do this? Thanks

I tried to use the MOuse look script. I ended up copying and pasting and making my own. But did you try changing your Z axis? Maybe you have them confused. Pasting the code would help too! :slight_smile: