How can I prevent camera control?

I have went through a lot of devforum posts about this already and they are mostly to make camera scriptable

I don’t want to make the camera scriptable however cause I still would like the character to move around and I already tried making the MouseDeltaSensitivity to 0 but that just breaks some of my scripts

I need the camera to just stop rotating when the player moves their mouse

https://developer.roblox.com/en-us/api-reference/enum/CameraType

There are a few different camera control types that will work for you depending on how static you want the camera to be. I would recommend going through the article I posted above and testing them out in studio to decide which one works best for you

went through all of them but none of them had what I needed
the closest thing to get to what I wanted though was the fixed camera type but it didn’t follow the character

You can try setting the camera type to Scriptable and setting the MinZoomDistance and MaxZoomDistance to the same amount

With a little adjusting I got it working

1 Like