Mouse events not working while hovering buttons

Hi!
I have a simple logic (In Player Controller) to change my mouse cursor image when I’m pressing LMB:
Event

I previously made appropriate changes in project settings:

It works fine by itself:

Normal:
NoButtonUP
Pressed:
NoButtonDOWN

Until I’m hovering any button with mouse. Then the Mouse button event is just not working at all (I tested it with print string).

Normal:
ButtonUP
Pressed:
ButtonDown

What can I do to make the event respond event while hovering something? Or is there any other aproach to impliment what I’m trying to do?

Are those UMG buttons? If so, they will consume the click and PC will never receive it. Generally speaking, once the UI is in focus, the controller has no clue what is happening to the cursor - it’s now the widget’s job to handle the mouse pointer:

image

2 Likes

Got that. Thank you