Draggable UI For Pluggin

I used this code to make my plugin UI draggable but when I drag it the selection box also activates.

The only solution I could find was to use the plugin activate deactivate options but the mess with other plugins. I have seen other plugins achieve this without this issue but can’t seem to find the solution. Does anyone have experience with this?

The draggable property seems to work fine, where’s your UI parented?

Draggable property is horrible with big movements and stuff like that. Custom modules usually work a lot better and look smoother.

Are you using plugin widgets or no?

Is this property only set in code? I don’t see in the properties windows. Also isn’t it depreciated?

Oh almost forgot it is patented in coregui.

Not sure what you mean by that sorry. I am making a custom made plugin with an onscreen gui and everything is being made by scratch.

Yes it’s only set in code, but it’s probably best if you find a drag module.