Hey!
Im using .PNGs for my User Interface In Widgets.
Is it somehow possible to Hover only the “colored parts” on an image instead of the whole square or rectangle where its transparent?
I dont like that the Hover starts even when im hovering the transparent part of the image.
So the Hover should only be recognized when im hovering the colored part of the image and not the transparent part of the square or rectangle.
So there really isn’t a great way to go about this. Images in the UI are rectangular and all one piece, regardless of alpha channel of any specific pixels.
One thing you could do is attach it to a canvas, have the canvas be the hoverable item, and check vs alpha to make sure alpha is >0, and if it is then execute hover code!