Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a drag-able Gui for your game?

Asked by 8 years ago

I understand that you can make Frames, textbuttons, etc. drag-able by turning on draggable in its properties. However is there a way that you can make the whole Screen Gui with all its children drag-able as if they were a single frame?

I tried messing around with code a little and my first instinct was to type this:

script.Parent.Draggable = true

I know that this does not work as ScreenGui's don't have the option draggable in their properties. However it is the best I could do.

Please help!

1 answer

Log in to vote
0
Answered by
Klamman 220 Moderation Voter
8 years ago

ScreenGUIs take up the whole screen and don't work like frames or other GUI objects. If you want to make a set of GUI objects draggable, your best bet is probably to put your frames and other objects into a "global" frame within the ScreenGUI, make the frame draggable, and move everything that way.

0
Thanks. That worked for me. WorldlyDev 15 — 8y
0
Klamman you beat me to it. gg anyways, good answer Angels_Develop 52 — 8y
Ad

Answer this question