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?
You can use UserInputType
s 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