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 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!
I’ve just crudely recreated this setup and it works as I expected. If I have to guess: check how many times the Focus on Button function is called any time you hover and unhover. Maybe it interferes with itself somehow and executes the default pin when you don’t need that and changes colors back to default after they were changed to hover colors?
Tuerer had it right. I also had a method which looked at a mouse move event to switch it back to a cursor from gamepad use and it had a focus button in there that reset the color each time the mouse moved. Cant believe I missed that. Thanks for your help!
Copying my reply to mark the question as answered.
Tuerer had it right. I also had a method which looked at a mouse move event to switch it back to a cursor from gamepad use and it had a focus button in there that reset the color each time the mouse moved. Cant believe I missed that. Thanks for your help!