Create widget called PauseMenu
Drag Vertical box, scale down the frame that fit the box
Add button (color as white, background color as grey, top padding 35)
Add blur background on top of vertical box, anchor full, offset right and bottom as 0, blur strength 3
Add image, anchor and offset same as above, make brush tint with 0.25 alpha, black color
On clicked button event graph
Option button BP:
After setting the option menu widget, connect as below:
Use Input Action plugin in 3rd person BP
Open Plugin setting , enhanced input
Open a folder called input action, create Input action, name as IA_PauseGame
tick below:
Create Input Mapping Context file, name as IMC_Default
Create the mapping and choose the PauseGame IA, choose Escape key as command
Back to 3rd person BP, create vairable Boolean and make the graph
NOT node typed by Not Boolean
The node above not work to me, i have to create input action and use its node from input setting:
To make mouse cursor for choosing in pause menu:
in end of input action graph, add below:
Now the mouse cursor appear both in menu and out of menu, to make it just in menu:
revise the resume btn node as below: