Pause Menu

im guessing that you are using the pause game node somewhere, if thats the case then you should just need to select your P input node and go to the details panel and check the execute when paused checkbox.

I wan’t to make Pause Menu to my Multiplayer Game.



When i pressed P letter the Pause Menu is appear and i can’t move with the character but i can click in the pause menu (it’s good). When is pressed again the P letter the menu isn’t hidden and not happen anything.


What should i do?

I am guessing the problem is that on your FlipFlop B wire, it goes to a Remove From Parent node which is trying to reference the widget wire from the Create Widget node, but that Create Widget node does not execute on the B wire of the flipflop, so it the wire for the widget is probably empty!

I recommend you store the reference to the created widget in a variable and wire THAT to the Remove From parent node, because the variable will still exist when the B wire executes but the create widget reference wire probably wont since B is executing and A is not executing.

Another option would be to do a Get All Widgets Of Class and get the one at the Last Index of the array that returns, which will be the most recently created one, and wire THAT to the Remove From Parent node.
Or even loop through ALL of the array just to make sure you got every pause menu ever created and remove each one.

Any of the above approaches will probably fix your problem.