How to add black outline to widget?

Is there no easy way to outline a widget element (like a segmented progress/health bar)?

  • wrap it with a border => pad its slot
  • use rounded box outline

  • use material:
1 Like

Hello, @Everynone ,

Before I get ahead of myself, this is the kind of progress bar I’m dealing with:

Correct me if I’m wrong, but your solution is for rectangles only, and not irregular shapes? I was also considering trying have the progress bar be emissive, but that seems like a nightmare too.

I basically want it to be easier to see in front of a play-area.

EDIT:

Skimmed the video: It is not for rectangles but ALL objects, which is nice. Thank you!

But what I’ve decided to do was superimpose the same bar atop this one, but slightly larger, so it looks like an outline.

1 Like

Check out the material approach, your keyword is distance fields. That’s going to be the only dynamic method. For non-dynamic, you can make an outline in photoshop / gimp. As you said.

1 Like