UIDragDetector Help

, ,

I’m trying to make my Frame draggable by clicking and dragging on a TextLabel that serves as its title bar. I’ve added a UIDragDetector to the TextLabel, but I’m having trouble getting the Frame to move along with the drag.

try putting the main frame inside the title frame

3 Likes

drag detectors will add the drag-ability to its parent, and it’s parent’s descendants, so as @y8ly8l said, you’d have to parent the frame to the title frame, I’ve not tested it, but it may also give the main frame the ability to be click+dragged

1 Like