UMG - Text block color change on hover
I have a widget blueprint with a button (with alpha channel set to 0, so it's transparent) and it has a text block. I'd like to modify the text block on hover of the mouse. How could I go about this?
I am in 4.4.3 and cannot change to 4.5.1 because it scraps my game. Thanks for any insight
asked Nov 09 '14 at 03:12 AM in Blueprint Scripting
Have you tried using the "On Event Mouse Enter" node. Make a widget blueprint with just your button and this will allow you to fire off what ever event it is you need when the mouse is hovering. There is also a node called "Is Hovered", this returns a boolean value. I hope this helps.
Make it a great day
answered Nov 13 '14 at 06:45 PM
Rudy Q ♦♦ STAFF
Hope this helps anybody else coming here from google. Make your text a variable, then create a set color and opacity node by right-clicking (for some reason it doesn't appear in the list when dragging from your 'Get TextBlock') then just link the 'Get TextBlock' (or whatever you have titled your text) to it.
Follow this question
Once you sign in you will be able to subscribe for any updates here