DragIt : An open-source Module for Custom draggable Gui

Hello guys , I am introducing to you DragIt .DragIt is a very simple Module which lets you make a draggable Gui with few other facilites . The module is well managed , i have tried my best to avoid any performance issues , if you find any bugs or have any suggestions please report it to me via PMs or commenting down here .

Tutorial for the module can be found in the module , if you have any doubts PM me or comment down here.

For testing : DraggingTest.rbxl (36.6 KB)

In the testing place:
Green has border , can be clipped ,has auto clip
Red doesn’t have border , can be clipped ,no auto clip,has snapping.
Blue has no border , cannot be clipped ,no auto clip

Facilites 1) Draggable Gui
2) Boundary limit for the gui
3) Clip guis to placeholder guis
4) Auto clipping facility
5) Changing Mouse Icon while Hovering Gui
6) Changing Mouse Icon while Dragging Gui
7) Events indicating starting and stopping of dragging.
8) Response Time indicating the speed of response of the Gui.
9) Snapping of UI.

Update Log 1) Release v1.0
2) Bug fixes + Events for Dragging [DragStart,DragEnd] v1.1
3) Response Time & Snapping of UI v1.2

https://www.roblox.com/library/7001758228/DragIt

30 Likes

In the clipping test, red works perfectly, green works occasionally (Always clips but image doesn’t always follow mouse) , and blue doesn’t function at all

1 Like

You should take a look at the code , all of them are scripted differently.

EDIT : Also i suggest you to try the new place file in case you stumble upon the bugs again. Red , Green , Blue doesn’t function the same they are scripted differently . I have edited post and explained how they work now.

Very nice module, I would recommend using this module. :flushed:

1 Like

pro’nt scrip no cap. Use if u want to be pro

2 Likes

Made a new update :

- Fixed few bugs
- Added events [DragStart,DragEnd] , indicating the starting and ending of Gui dragging.

Very good module. This is just the start of an amazing idea. Keep up the good work! :+1:

A few suggestions that can make it a lot better:

  • Snapping to the sides/top/bottom of nearest gui object on the screen
  • Distance from guis on same horizontal/verticle axis displayed

You can also get some more ideas from sites like lucidchart to make it a lot more beneficial and easier to use

1 Like

Cool module, well written and overall really useful. Pro stuff :wink:

1 Like

Useful module, would recommend this to others as well :wink:

1 Like

Made a new update :

- Added response time
- Added auto snapping as per the suggestion of @ApprenticeOfMadara

Doesn’t work on mobile would be very nice

I have not made it supportable for mobile yet, thanks for your suggestion . Will do it in future updates.

1 Like