I want to make some ui effect happen when the user hovers over a button but I can’t detect the element being hovered. I tried the OnMouseEnter and OnMouseExit events but they don’t seem to ever be triggered. I also tried a C# script with the OnPointerEnter and OnPointerExit events but nothing happens. I do have an OnClick custom event called from the button which works.
Any help would be greatly appreciated. Thanks in advance!