How can i manually set a button widget to hovered state
I noticed that they have events for when the widget is pressed or clicked, but not for hovered. I want to be able to change the buttons color whent he widget is being hovered (which works fine for mouse). but i want to be able to do this for a gamepad as well. I found a function that Checks if it is hovered, but not to set the value.
asked Oct 17 '16 at 11:20 AM in Using UE4
This is probs a bit late but for any one also looking for this as I was. I've just figured out how to do it, you have to get the button you're trying to manipulate, get its current stytel and feed it to the set method. Just swap the normal and hovered state around. So normal set in set method is equal to hovered state in get method.
answered Feb 06 '17 at 06:14 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here