Why LeftMouseButton can't trigger OnMouseButtonDown ??

it will only show “right” ,and with no refection if i click LeftMouseButton…

this is a button ,and if i use image it will trigger LeftMouseButton,so,whats wrong with button??

I believe you’re facing the same issuethat pops up when we try to drag a button with left mouse button. Overriding the “On Preview Mouse Button Down” function instead of On Mouse Button Down, fixed the problem for me.

oh!!! thank you sooooooo much !!! this problem spends me more than 5 hours for googling !!! really thank !!

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.