# Mouse button events not working in Common UI

**URL:** <https://forums.unrealengine.com/t/mouse-button-events-not-working-in-common-ui/2744593>\
**Category:** UI\
**Tags:** drag-and-drop, unreal-engine, mouse-event, Widget, question\
**Created:** [August 18, 2026, 7:45am UTC](https://forums.unrealengine.com/t/mouse-button-events-not-working-in-common-ui/2744593 "2026-08-18T07:45:25Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![BRGEzedeRocco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgezederocco/32/1216890_2.png) [@BRGEzedeRocco](https://forums.unrealengine.com/u/BRGEzedeRocco)\
**Post date:** [August 19, 2026, 1:00pm UTC](https://forums.unrealengine.com/t/mouse-button-events-not-working-in-common-ui/2744593/5 "2026-08-19T13:00:49Z")

</div>

Hello again @SemanticRain619,

I did some research on this and found that one possible workaround is to add an invisible Border behind the Button and use it to capture the mouse event. To make sure the Border remains invisible, you can set the A (Alpha) value of its Brush Color to 0.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/e/c7e59b35083fa286ffe3eabc6d3ff7f49ee33c52.png)

I also found that, according to comments from the developers,the recommended approach is to use OnPreviewMouseButtonDown instead of OnMouseButtonDown. The main difference is that OnPreviewMouseButtonDown uses tunneling, while OnMouseButtonDown uses bubbling.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/c/d6c175d4c1d103f66fde56fc3cad29dee682abb8.png)  
[https://issues.unrealengine.com/issue/UE-49100](https://issues.unrealengine.com/issue/UE-49100)

In simple terms, tunneling means the event travels from parent widgets down to child widgets, while bubbling means the event starts at the widget that received the input and then propagates back up through its parent widgets.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/f/5ffb69c3f316799ec51a3029b57bbde65a23e5e8.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/5/3e53159895f755a191cc465c1ecead0a60800421.png)

I also came across several older community posts discussing the same behavior, which I’ll leave below in case you’d like to take a look. While some of them are a few years old, they all point to the same solutions mentioned above.

> [@On Mouse Button Down only works with Right Mouse Button](https://forums.unrealengine.com/t/on-mouse-button-down-only-works-with-right-mouse-button/1341006):
>
> Hi, The following code works fine with Right Mouse Button but doesn’t fire with Left Mouse Button. Why is this and how do I get On Mouse Down Button and other events to work correctly with left mouse button? Thanks!

> [@Why LeftMouseButton can't trigger OnMouseButtonDown ??](https://forums.unrealengine.com/t/why-leftmousebutton-cant-trigger-onmousebuttondown/149361/5):
>
> For anyone else who stumbles upon this problem, using the OnPreviewMouseButtonDown function is slightly discouraged, as it can make it harder for you or your team to predict or comprehend the behavior of the UI later on. The problem usually happens when you have an interfering widget, in most cases it’s a button. Depending on your use case, you could either disable it using YourButton-\>SetIsEnabled(false);, or stop it from consuming the mouse input.

> [@On event double click not firing](https://forums.unrealengine.com/t/on-event-double-click-not-firing/98434):
>
> EDIT: OnMouseButtonDoubleClicked Function override, not event, sorry. So i posted this on the answer hub a few days back and haven’t really had anything in the way of help with it so far so thought i would ask here. I am following a tutorial by UnrealGaimeDev here: [[Eng] Slot-based Inventory System: Item Drag Preparation #011 - YouTube](https://www.youtube.com/watch?v=S5gIELRnS5E%E2%88%88dex=12&list=PLmKKTERcjTPKEPl0nk48Tpmj-iWmzqo_Q) (00:00 - 02:26) In the first part of this tutorial he creates a button and an “event on double clicked” I have everything set up identically to his and have d…

Hope it helps!

---

_[View the full topic](https://forums.unrealengine.com/t/mouse-button-events-not-working-in-common-ui/2744593)._
