Widget Buttons ... and text box, a suggestion....

Perhaps it is possible to do, but I haven’t come up with how if so.

But when making a button, it seems that is the only item that has clickable and hover over and such. For the most part.

So I finally figured out to set the alpha under appearance for the background on a button to make it invisible. That’s nice, but then I figured you could keep that at 1.0 for alpha, and just set alpha for normal, hover and clicked. Ok, an improvement… possibly. But I would rather have the button background transparent, and have the text in the text box in the button change color. Is there some sort of function (that I can not find) that would see a hover over the button so you can BP to change the color of the text?

I have been digging a while and can find nothing… so if there is nothing, would be nice if they added an eaiser way to change text, perhaps with a hover/click over the text box as well.

There is the Is Hovered function which returns a bool and can used on any widget, is that what you are looking for?

Just found the is hovered, but so far have not figured out how to use the is_hovered over the text item, and change the color property of that text…

First you’ll want to make sure your text block is set Is Variable, and then you could do something like this:

I tried this and could not get it to work, then I noticed that isHovered has a widget target… and I was using the TextBox. So I guess I need to make that textbox it’s own child widget of the main widget and use that as the target. Was unsure what to use for where the white line enters Branch… figured it would be Event on Mouse Enter…? and then this whole bit of code would go into the blueprint for that single textbox widget… Or so it seems. Thanks a lot for the input.