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

Create draggable GUI frame?

I am trying to make a sliding puzzle in roblox but I need to be able to drag gui elements for it. I know of the draggable property of Frames, but this is deprecated. Unfortunately, Frames do not have the mousebutton1 events so that is also a no go. Anyone know of a way to do this?

5 comments

0

We don't give scripts, please make/try your own script and if something stops you, come to us and we will help.

1

Best bet would be to make the frame a TextButton and listen for the MouseButton1Down and MouseButton1Up events

0

@mixgingengerina10 I was not asking for a script, I was asking for a few pointers on how to do this differently.

0

@Denny9876 if you make your comment a answer I will accept it! thanks everyone, all your ideas were great :)

1 answer

insert a script to the frame.

script:

script.Parent.Active = true
script.Parent.Draggable = true

I know draggable is deprecated, but i think it works, i tried that once, it worked.

4 comments

0

Well, it's deprecated and has a low chance of happening because roblox removed it.

0

Draggable is deprecated and OP clearly said he didn't want to use Draggable.

0

I was indeed looking for a not deprecated way

0

It works tho.

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