How to outline a transparent image in a Widget Blueprint

What you could do is duplicate the icon, make it slightly bigger and change the z order to negative so it will appear under. now you just need to change its material to the yellow outline your are looking for and it should technically work