LMB click event on all interactive widgets

I want to change the mouse cursor when I press and release the LMB. Adding an event to PlayerController all works very well. However, when you click on a button or another “Visible” item on the GUI, it does not allow triggering the LMB event in PlayerController.

Help please, maybe someone has ideas on how to implement it. Via C ++, read presses before the GUI …

p.s.

  1. onPress for each GUI element is not a good solution.
  2. On the buttons there is a setting “Cursor”, which does not allow changing the cursor. Only two options: either call SetHardwareCursor and set the new cursor to Default, or change the “Cursor” attribute of the button itself.

Thanks for the help!

Help me, please