How to unlock a cursor locked in first person mode?

im working on an fps game where you cant move the cursor because youre stuck in first person mode, but i want to unlock the cursor when certain guis are visible. i heard about the Modal property, but i cant seem to find it anywhere so im assuming its outdated

3 Likes

You can create a ScreenGui and add a frame into it. Set the frame size to Scale(1,1) and make it transparent. Tick the Modal property of the frame.

I don’t know if it is outdated or not but it’s still a way to achieve free cursor.

4 Likes

Edit the player scripts which lock the cursor:

yeah, turns out only buttons have the modal property so i just added a text button, set its size to 0,0,0,0, ticked the modal property and it works

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.