How would I make a GUI not lock up

Hey DevForum,

ok so one of the things I most hate about the Roblox basic gui system is that every time I zoom in all the way and a ui pops up or I zoom in all the way with a gui interface showing it locks up my mouse so I cannot move my mouse other than from the center, cannot zoom out easily, etc. How would I make it so my game gui’s don’t have these issues. I’ve seen other games change the max zoom in distance so It’s hardly noticeable. But then you cannot look around just by the movement of your mouse or track pad. Ok so if you have any questions please let me know. Thanks from John.

1 Like

GuiObject.Modal = true

Allows mouse to move when the obj is visible.

4 Likes

Make sure the Frame.Active property is false

1 Like

Does that have a down side to it? Also can you zoom in and out with a gui interface showing?

With guiObject.Modal, yes. Not any downside I know

So you can zoom in and out with a gui that is active?

Just make sure you set it back to false when it is not open

1 Like

GuiObject.Modal allows the mouse to move freely even when it first person.

1 Like

GuiObject.Modal only affects the ability to move the mouse while making the camera zoom have no effect on the mouse. You still cannot zoom out on Gui elements with an active property set, iirc.

1 Like