Is possible to know when any window is dragging?

Hi, I have many GUI windows, and many of them are draggables. Is there any way to know if any of these windows is dragging? or fire an event like dragStart/dragEnd or anything like this?

I need to set a flag isUIWindowDragging to dissable mouse orbit and other things when the user is interacting with the UI.

Thanks,

If you check for mouse events inside the window code itself, disable from there