Spawning two widgets

How can I display multiple widgets at the same time? If I set two widgets visible, one is obstructing the other, even though they are physically apart. I guess the Canvas Panel is blocking another. I saw in other posts that I have to include one to another, but this does not sound like a solution because they are independent widgets. I also tried to create one mother widget that holds all, but it still didn’t work.

Hi.
Dose one of your widgets have background color or image?
(by using border or image)

How about adjust the ‘ZOrder’ when ‘Add To Viewport’ ?
Or simply swap the order of spawn.

2 Likes

It was completely transparent. There was no overlap (at least no visible overlaps)

this solved the problem

widget->SetVisibility(ESlateVisibility::HitTestInvisible);

I was using visible instead. this still allows the buttons to work