Drag&Drop a button

Hello everyone!
I have a custom widget in my project called InventorySlot, which is composed of several images and text blocks, all covered with one transparent button that handles click events. I need this widget to be draggable and tried to achieve this via overriding the OnMouseButtonDown/OnMouseButtonUp/OnMouseMove functions, but the moment I click the button, all mouse events stop being registered. Is there even a way to drag&drop a button?