Log in to vote

How to unlock mouse in forced first person view?

Asked by 7 days ago

I've found many answers to this same question but there's a problem with that. I'm trying to create a camera system like the one in Roblox Studio. That means players should be able to rotate the camera with right-click, move around with WASD, and select objects on the map with left-click. All answers I found suggest creating an invisible Button in a ScreenGUI and enabling the "Modal" property. That works... but then you can't turn the camera around by holding right-click. I don't want to enable/disable the mouse lock with the click of a button, but I want it to be unlocked at all times. Again, just like in Roblox Studio.

Answer this question