Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Free Mouse in First-Person?

So I am trying to free the clients mouse in first-person when they open their InventoryGUI Menu. Is there anyway to unlock the clients mouse while keeping them in first-person when they open the InventoryGUI?

1 comment

0

Try changing cameratypes or something related to the camera

2 answers

✓ Accepted answer

You can use UserInputTypes MouseBehavior which can be set to

Enum.MouseBehavior.LockCenter

Enum.MouseBehavior.Default

A few possible solutions:

  1. Make the camera scriptable when the gui is opened so the mouse isn't clobbered by the default scripts. You can change it back after the gui is closed.
  2. Zoom them out just a tiny bit by manipulating maximum and minimum camera zoom.
  3. [Not advised] Go into the default camera scripts and make it yield control on an event

This discussion is preserved as it was. New answers, comments, and votes are closed.