Introducing UIDragDetectors [Studio-only Beta]

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

Try using the BoundingUI property of the drag detector.

1 Like

That property does something else entirely.

3 Likes

I’ve been having the same issue! Editing the example place in studio also brings up interesting results.

2 Likes

finally an alternative to dragging that hasnt been dropped…

5 Likes

The day has come! (Not quite since this is in beta, but the sentiment is here for sure). I look forward to using this.

3 Likes