# Why LeftMouseButton can't trigger OnMouseButtonDown ??

**URL:** <https://forums.unrealengine.com/t/why-leftmousebutton-cant-trigger-onmousebuttondown/149361>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [August 18, 2020, 1:47am UTC](https://forums.unrealengine.com/t/why-leftmousebutton-cant-trigger-onmousebuttondown/149361 "2020-08-18T01:47:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Spesful](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spesful](https://forums.unrealengine.com/u/Spesful)\
**Post date:** [November 30, 2024, 8:10pm UTC](https://forums.unrealengine.com/t/why-leftmousebutton-cant-trigger-onmousebuttondown/149361/5 "2024-11-30T20:10:03Z")

</div>

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.

---

_[View the full topic](https://forums.unrealengine.com/t/why-leftmousebutton-cant-trigger-onmousebuttondown/149361)._
