Download

How to Pause Gameplay and restore it

How can I remove the player’s control of the character and pause gameplay? Also, is there any way to add new controls such as for menu operation only when the blueprint widget is on the viewport?

If you pause the game with Set Game Paused, the gameplay will be stopped, but UI(UMG) will still work by default. So… You can add your widget to the viewport and after this pause the game.

737b7624bed66c4f31dccc23f08fb7ea50536a79.png

Also, you can disable the input of your character by using Disable Input node, and also add your widgets to the screen. Adding controls can be done with Enable input node.

36e56f505ea647b87c231efc3a0c5f01f4e663a5.png