I have a button that displays a tooltip when the mouse hovers over it. I want the tooltip to disappear when the button is pressed. I save the tooltip to a variable after it is created but the Remove From Parent node doesn’t work, the tooltip isn’t destroyed.
Show us how you do it. Too many ways to do what you’re trying to do.
Remove From Parent node doesn’t work
For all we know it may be working fine, the tooltip is removed but another immediately created in the same frame since the mouse enters the underlying widget again…
Also, do note that UE has a native tooltip system, too:
is this what you’re using? Or a custom solution? If so, how are you doing it all?
I’m binding the tooltip to the button the default way.
EDIT: I’ve added a boolean to the widget creation function to make sure that the widget isn’t created again once deleted and that doesn’t work either. It seems that Remove From Parent really doesn’t work.