I try to show widget when mouse hover on actor
by use collision box
problem is the widget flickering when mouse at some point of the box
It happens because when the widget intercepts the mouse cursor, your collision box calls OnEndCursorOver.
You could avoid it in the following way:
You also need to work out the option when the cursor leaves the widget and there is no box under it.
You can create a dispatcher event in your widget, subscribe to it in the actor, and if there is no collision box under the cursor, hide the widget.
my widget is attached to the box actor to show info until it destroy, not that fancy
but good to know for future solution if I need
I see the other problem that need this solution now
if not use mouse leave
some time widget will not go hidden