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

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

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

✓ Accepted answer

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.

2 comments

0

Thanks. That worked for me.

0

Klamman you beat me to it. gg anyways, good answer

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