Hey all made this widget turn on when i hit B well how i do when i hit B again to remove ?
You need to store the reference to the widget in a variable so that you can remove it later - there’s a plain “Remove from Player Screen[Viewport]” node that takes a widget reference that you can use You’ll probably have to stick a flipflop on the B key as well, or do something more robust with validity checking for the widget.
Tnx will check it out i just started with blueprints
Quick add from the IRC chat:
Button Event -> gate -> flipflop
-A-> add widget to screen and set variable
-B-> remove widget from screen
-both-> reset gate
Somehow when i set key B wen i press it its open the widget but when i hit again the B its shows nothing like i did not pressed it at all ?
Well one more question how to add when is active the Widget how to disable character from moving wile doing in widget when i add player controller its ok but cat close the widget ?