UMG click and hover not working

When hovering over buttons and/or clicking on clickable widgets, the cursor in my game does not process Hover and Click events consistently. When moving the cursor around inside of a button, the Hover state will be reset, seemingly at random, which fails to send the click events to the underlying button. Attached is a low-quality gif showing this behavior. How can I diagnose what is happening here?

200331-yunoclicks.gif

Hello GrimlessBBS,

I tried, but there was not any problem.Is there an object on the umg other than the button? If there is, maybe overlap each other. For this click button and set z order larger number. Also, you can try changing the click method of button.

“Also, you can try changing the click method of button.” What do you mean? I just want the button to behave normally: change its style when hovered, and to fire a click action when clicked. But, as you can see in the gif, the hover state changes seemingly randomly when moving the mouse inside of the button, preventing click events from occurring. I will double-check that there is nothing overlapping the button, but I’m 99% certain there is not.

Solved it: my cursor widget had somehow lost its setting for “Hit Test Invisible” when shown. Instead, it was set to “Visible”, which was causing the cursor widget to block hit test checks.

god thank you! for hours I’ve been searching now and all the time it was my ■■■■ custom cursor widget