Introducing UIDragDetectors [Studio-only Beta]

you should make it so if you drag stuff out your drop it

16 Likes

Oh that is a good point lol. I was mostly just experimenting with the feature, I most likely won’t use this.

10 Likes

Let’s go roblox made a W feature today! Roblox keep this up these recent features and updates haven’t been L features and in time the community will stop saying “Roblox just realized a new feature and it’s trash…”

10 Likes

i wonder if its possible to make a control knob with this…

Also, when do the Drag events fire, before or after the DragDetector itself has set its position

10 Likes

Sliders! The one feature i hold off from doing is now 10x easier :laughing:

Good stuff!

3 Likes

There seems to be some problems while using it on phone (notice that black ball which looks like move button)

13 Likes

This is going to save so much time, hopefully we will be able to get a similiar solution to implementing particle-like effects into the 2d space.

4 Likes

HOLY CRAP THIS IS AMAZINGGGGGGGGGGGG.

Now I want UiBlur, UiPqrticle more UiGradient and stuff and if you don’t add them I will end you. x3

15 Likes

Does this mean support for drag-to-reorder behavior?

9 Likes

Such an awesome feature. This is going to make draggable UI so much easier to set up and remove the need for long module scripts and libraries. Didn’t even think of the use-case for sliders here - so so amazing, I can finally get rid of my 1000 line library I installed just to set up a damn settings slider. Awesome job to the team here!!

Will we get another announcement when this feature has been enabled in live games? Just asking so I know whether to check back on this thread or not.

8 Likes

Number sliders and a Unity-like inertia drag feature have been a pain point for me. No more! I really love how a lot of games built on Unity that I’ve played have inertial drag on most menus and are elastic to their constraints, so this should make it much easier to create those. Plus I’ve been having some issues creating number sliders. CANNOT wait to use this in prod.

2 Likes

This is an awesome addition to UI hope there will be further expanding on Effects of UI likes Blur and Particle.
UI randomly fade out of existence in edit mode, work normally in play mode.
https://gyazo.com/97b0a54eef79e2b3678d49c38402c824

7 Likes

This feature is great! Thank you!

14 Likes

Exactly on the good moment it come out when I release my plugin update (today) what have the ui dragdettectors

But how works the drag to resize windows @PrinceTybalt @DeFactoCepti I can use for my plugin I made it responsive so user can drag the frame to make it bigger

Only the ui from the test place is kinda broken on mobile



And the black dit sucks on your screen



8 Likes

This is EPIC! Seriously epic! This will make interactive UI elements so much easier and less time consuming to create.

One thing I’d love to see later down the line is the ability to combine this UIDragDetector with the Path2D Instance to allow us to create custom paths for dragging!

Amazing work guys!!

5 Likes

I remember I spent a day trying to figure out how to make a UI slider.
I now use a specific module that I made by myself, but this new UIDragDetector will save a lot of time for new devs, or generally any dev I think. Thats a great thing.

2 Likes

Is it possible for UIDragDetectors to drag other instances entirely? For example here i wish the actual “Inventory-1” instance to be dragged and NOT the instance the UIDragDetector is parented to.
image

2 Likes

duplicate that and parent it to the root of Inventory-1

2 Likes

I’m seeing more impressive features being added, and fixes to older systems. I’m proud of Roblox’s current direction.

2 Likes

I don’t need the entire window to be draggable. I only need a specific area of it to be draggable.

1 Like