Introducing UIDragDetectors [Studio-only Beta]

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

i mean the hierarchy should be this

Inventory-1 (Frame)
  |  UIDragDetector
  |  Detail
  |  Resizers
  |  UICorner
  |  UIStroke
  |  Page
  |  Topbar
  |  BackgorundLogo
5 Likes

I know what you mean, but as ive said before i only need a specific area of the window to handle the dragging of the entire window.

1 Like

This update is awesome

1 Like

Imagine the biggest smile on my face rn when i saw it

2 Likes

Hey I’ve been noticing framerate drops when moving things within more complex UI’s. The framerate drops seem to happen universally although inconsistently (Sometimes when starting to move a UI element with a UIDragDetector there may not be any frame drops at all). They happen for ScreenGui’s too though its not as bad.
Here’s a video of the issue. In the video i am comparing UIDragDetectors (the white box) with my own draggable’s solution. Said framerate drops do not occur with my own ui draggable system.

5 Likes

is the weird buggy cursor normal?

9 Likes

That’s amazing for a UI Slider!

1 Like

Simply amazing. ROBLOX never fails to impress me on either really awful updates or really amazing useful ones. Thanks guys!

4 Likes

When the thing gets out of beta, expect me to replace your UI editor with my own!
This thing is so powerful, being able to use it while in edit mode.

2 Likes