Set Active Widget Index doesn't work?

Ok here’s my function that should display my Pause Menu on screen but doesn’t.

Any ideas why?

First of: Always try to make the white execution line Horizontal. Much easier to read.

Just from that piece of code we can’t help you. WidgetSwitcher->SetActiveWidgetIndex itself works.
How does your widget hierarchy look? Is the pause widget set to visible?

Here’s the widget Hierarchy. The Overlay consisting the pause menu is Visible and all children also.

1 Like

You are setting the ActiveWidgetIndex to 1. What do you expect happens? Magic?
Index 1 is VB_ScanDialogueUI.
You need index 6.
You can also use WidgetSwitcher->SetActiveWidget node.

LUL. I know I have set 1 to the index but that was just a test. No matter what index I set the node to nothing appears on screen even tho the flow of the program seems absolutely right. :frowning:

Hm, ok. Do you set the widget index at some other point? Search for references of the switcher.

Add another switcher that you know is not referenced anywhere else. Set two images and test it

Man you’re the best, I had another UI function on Tick that didn’t check correctly and just reseted to empty overlay! Thanx a ton! :smiley:

Glad I could help