Swapping widgets in game

I am doing an instructions button in a main menu and i want to make it so i can change into another widget which would be the instructions. i used open function (widget) but it seems to not work, there seems to be an error. i do not know of any other possible solutions to this in the blueprints. i would like someone to help me please. thank you

Hello GitGudGitRekt,

If you would like to add or remove widgets you could do so by adding a child to the canvas panel of the current widget. I have provided an example below. I hope that this information helps.


Make sure to set the Canvas panel as a variable

Here is an example of how to add one widget to the canvas panel of another widget.

Note: Removing the widget from another widget is the same as removing it from the viewport (remove from parent).

Make it a great day

1 Like