Widget background problem

Hi everyone,

I’m currently working on creating a new widget and have run into an issue. I added an image to the background, which is working, but it’s causing everything else in the world (like characters and cubes) to become hidden. I’ve tried adjusting the ZOrder, but it’s not fixing the issue.

Can anyone suggest any solutions to this problem?
Thanks in advance for your help!

It’s a bit unclear what the desired effect should be. First of all - is this a widget component in world space or a screen space widget?

Screen space widgets are always rendered on top of geometry, if you make a full screen image, and make it fully opaque, it will cover everything, yes. Only other widgets can be manipulated using zOrder.

Could you somehow demonstrate the effect you’re after?

This is widget: Also if I added image the result is the same

This is BP for calling widget in level:

This is result:

So here I have my character blueprint but its not visible.

So, how can I calling widget with image and in background display my character?

Sorry, I really do no understand what you want to achieve :frowning:

You covered the entire screen with an image so that’s what you get. Either do not cover the entire screen or make the widget transparent. Or use an image that has a cutout you can see through?


  • is this what you’re trying to make:

The menu is 2d, the 3d character is in the world.

  • or this:

The menu is 2d and a 3d character show up in the menu.

  • or this:

As above but the world in the background is still visible.

  • or something else?

Perhaps you could show an example of what you’re after?

  1. from your example, but with my image in background.

Like that

You mean in the foreground, right? The image (the white bit) is in front, not behind. I’ll go by your pic:

  • cut a hole in the image:

  • and you’re done:


You could also make it using a material but that’s a bit more complicated. More flexible, though:

  • the material:

  • you can use it in the widget:

image


The usual method for something like this:

A scene capture component. Check it out, perhaps that’s what you really need. Sometimes it’s about knowing the right keyword.

4 Likes