How to make UMG block left and right clicks

But where do I override OnMouseDown and OnMouseUp?