Widget Button Blinking When Cursor Hovers Over it

Ok so I figure it out. Boy do I feel dumb, the event tick was constantly firing the widget so thats why it was blinking. There was a constant stream of widget creations.

So I fixed it by adding a gate of sorts so that the constant firing will stop effecting the widget. I am sure there is a better way of doing this but what I did was I made a boolean variable to be stored in the character blueprint. Then When I left clicked something, the variable would be true but only for a split second. That gives the code enough time to go through the other parts. Which is if what you click is the first aid object and the boolean I made was true then the widget will come online. And since the boolean will only be true for a split second, only 1 quiz will be online. Instead of a constant stream of re-creating the quiz. Check the images for more clarity.

1 Like