How to change the opacity of any button in a Widget, when hovering it ?
I'd like to ask : Does anyone have any solution to make any hovered button's opacity 1 and all others 0,7, in a Widget ?
Here's the way I do it :
Then, when I don't hover it anymore, opacity goes back to 0,7.
Remark : The button's background color is completely transparent, so I can change the button's Color and Opacity's Alpha, it'd do the same
Well, that's for the basic buttons of the menu, but then, the Continue the Options buttons call a WidgetSwitcher and we have to do the same opacity handling stuff with many more buttons. In the end, the graph would be so long for a simple and repetitive task I can't believe there is no better way to do it.
I could think of a few different solutions :
Thanks a lot !
PS : If it could help, here's a part of the concerned elements my Widget Hierarchy (then there are also buttons in Resolution and in Keyboard)
The easiest way is to Get all the Buttons > MakeArray > ForEachLoop > GetIsHovered > create a Branch > out of True Set Opacity to 1 > out of False Set Opacity to 0.7. Connect the execution to a Tick.
answered Nov 13 '18 at 04:04 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here