HUD, show/hide widgets

Hello! trying to work with hud, i have health bar, compass, in game console, pause menu and crosshair.
And i want to show and hide some of this hud widgets

Example - when player toggles pause menu, crosshair and compass (and health bar) will hide and if player toggles pause again, crosshair, compass and health bar will be show
BUT, if player toggles console i want to crosshair, compass and health bar to be showed

how can i make that?.. i tried to make that thing with flip/flop, but it work’s very bad…

You could use a widget switcher, put it on your main canvas panel and switch between them as needed