removing widget not working
so im standing infront of a dilema. here´s the thing: i want to press esc to open the menu without the character moving in the background, then press esc again to close the widget.
i added the button, gave it a loop, A opens the wiget and the mouse, B closes the widget and the mouse (more or less) BUT the character was moving.
i added "set input UI only" and the character stoped moving
now i can´t close the widget anymore. i tryed adding "set input game mode only" in case of B. but thats not working.
asked Jul 31 '18 at 02:31 PM in Using UE4
Do not use Flip and Input nodes for this as you're blocking the input this way.
Use Esc to open the menu normally but override OnKeyUp in the widget to restore the Input Mode Game Only:
Add the code to remove self from parent here - this will destroy the widget.
Follow this question
Once you sign in you will be able to subscribe for any updates here