Hide Widget when pointer is out of the widget size
I have made a BP with mesh in it When user clicks on mesh It shows a widget asking user to select which color does he wants to select
What I want to do is, as soon as I end hovering my cursor in the main area of the widget the widget should disappear.
I do not want to hide widget as soon as user selects a color, I want to hide widget when user's pointer is outside the widget size. Also please note that my widget space type is SCREEN and not world. I know that I could have user ON HOVER END event, but this works only if the widget space is WORLD and does not work in SCREEN!!
asked Sep 15 '17 at 01:56 PM in Using UE4
If you are using a WidgetComponent (3d widget), you should be able to use OnEndCursorOver to achieve this. You'd need to implement in on the component, not the widget. This is the equivalent of OnMouseLeave for 2d widgets.
answered Sep 15 '17 at 02:27 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here