Take a look at UIDraggablePanel.shouldMove property. The code you need is there, just copy/paste it to where you need it, and provide the widget's bounds for the 'bounds' variable. To calculate the widget's bounds (or for a group of widgets for that matter), you can use NGUIMath.CalculateRelativeWidgetBounds(panelTransform, widgetTransform);