How to 'Dehover'

This is kind of hard to describe.

Basically two buttons are ‘Highlighted’ and no matter what I do I cannot dehighlight both of them.

One button is highlighted because it is Selected the other is highlighted because the input was last hovering over it.

I can call Button.Select or EventSystem.SetSelectedGameObject(null); all I want and this does change the Selected button to a different one, or unhighlights the selected button.

However the button highlighted because the user last hovered over it is still highlighted. It seems nothing affects it’s highlight state. I need a ‘dehover’ method or something of the like. Does such a thing exist?

Set Button.interactable = false. Then set the interactable to true after a frame update. It should reset the highlight states.

It can be done in the Inspector, or through scripting.

Call OnDeselect.