Can a text widget trigger a mouse over event?

Is it possible? If so, how do i set it up? I can not get it to work.

Thanks

You can make an invsible button wrapping a text like this one:

Making sure to do IsVariable and DrawAs=None

Or wrap the text in a user widget and:

image

It was working. I had a ZOrder issue.

What i don’t understand is, the canvas panel visibility is set to “not hit-testable (self only)”. Why is the canvas still blocking other widgets behind it? I have several widgets added to the viewport independently

It would not block here, something else is. Run the Widget Reflector to find what the mouse hits.

Got to work. The widget reflector was a wild ride to figure out.

All the widget settings where correct. When i want to display a widget on the screen during game play i set the widget visibility to 'visible". I guess it makes the entire widget visible although the canvas is not-hit. I changed it to “not hit - testable (self)”

Thank you

1 Like