Cant change color of text on button hover

Darkforce259
Fri, 12 Jun 2020 08:33:31 +0000
Rendering

Above is the widget I have. I want to change the color of text to a pre defined color when the user navigates to it either with a controller, or hovers over it with their mouse.

The above image shows the inner workings of the function that I have which modifies the color of the text

The above image shows where I use the function without fail. When using a controller to navigate it works perfectly as expected.

The above image shows where I am calling it on hovered. If preferable, I would like to remove the tint on the button caused by the hover but it is not required. However the text does not change color at all.

The focus is on the main widget in the UI only mode. Also of note is that the game is in a paused state.

I have tried many things but cannot get the text to change color when hovered. Any help would be appreciated!

6 posts - 1 participant