How can I go about making a "Click and drag bar gui"

If you dont know what I’m talking about I mean something like this

image_2021-12-22_003251

Basically a GUI that you can click and drag to scale a value up and down, I’ve tried a few of these before but none of them ever seemed to work, I’d appreciate if someone could set me on the right track for doing something like this, thanks.

hey there !

you need to use udim2.new for drag scale GUI.

hope this help :slight_smile: .

You can do this by detecting the mouse down event on the draggable object, then finding the x position of the mouse OR you can probably also use a scrolling frame