Is it possible to add an outline to an image?

Hi everyone, I’m trying to make an inventory UI and I want the items to highlight when selected. I need to put an outline around the Image, but all the outline options only work with Rounded Box and it just creates an outline around the image box.

Is there any one to specify an outline around an image, something similar to the outline property on text? Thanks!

Explore this:

https://www.unrealengine.com/marketplace/en-US/product/ui-material-lab?sessionInvalidated=true

Look into Signed Distance Fields specifically.

1 Like

you can just use a Border then,

OnMouseEnter/Exit or your custom selection event change the border color

I believe OP wants an outline around an irregular shape. As in, make this shape glow:

:star:

2 Likes

Yeah, exactly this. I found the UI Material Labs link and I’m digging a bit into it, but maybe there was an easier way to do it and I was overcomplicating myself.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.