I made a pause widget that I open when I hit the 'P' screen:
I will run you through what is happening in the blueprints:
Next, I made a pause screen widget blueprint in which I have a button called "Resume" and this is the "On-Clicked" event of that resume button:
In my resume game on clicked event blueprint:
What is happening? Is this behavior normal in UE4? If so, will the game behave as expected after production and if not, how do I solve this problem?
For more information I am following this tutorial on Youtube: < https://www.youtube.com/watch?v=hP_J5rMikhg&list=PLKMRiZuSgt-7wY7hfUzg8JcuTFXAf85jv&index=12 >
By default the game set the input to GameAndUI but when you have this or UIOnly (on a widget), it's not possible to hide the cursor, so to do properly set the input to UIOnly when you show your pause menu and set to GameOnly before removing the widget and normaly you don't have to hide the mouse, this will hide automaticaly here a example: Go Game, Go Pause