I have a overlay with a border along the bottom of it. I use Event on Mouse Enter and Leave to keep track of the cursor being scrolled over a visible widget or not. This works great except when I click on a part of the hid that does not take input (like a border) This triggers the Leave event while the mouse button is down. This does not happen when I click other buttons though.
Well, I ended up throwing a handled check in the widget’s On Mouse Down event as a catch all to prevent the widget from ignoring all input and it seemed to correct the issue.
How are you having OnMouseLeave inside a function? When I override mine in places it in the default event graph where I can’t have anything return. It does not let me copy past the event into a function either (one or more nodes could not be copied)
It might be too late to reply but if you drag out of mouse event and add is mouse button down, and set the mouse button to left mouse button, and connect to a branch node will solve the problem
For anyone who needs it.
I needed to disable click through on my UI. Used this on my base widget and its stopping any mouse events from triggering “on mouse leave”
The problem is, when I click inside widget, then move mouse out and then release a button, OnMouseLeave event is not triggered and my mouse input remains blocked