Hello guys, so I am making a game that looks a bit like the DodgeTheBlocks game and my problem is that I decided to make the player control the way that you control it with the mouse. It works perfectly fine and I m happy with it however if I press escape, the pause menu appear and if I click on the left (or right) of the “continue” button, then when I want the player to go all the way to the left (or right) the mouse get blocked on the edge of the screen and so you just can’t finish the level..
So now that I ve explained you my issue my idea was to either make the mouse be able to go out of the screen, however idk if that is possible. Or if there is any ways I can make the mouse spawn in the middle of the screen each time the “continue” button is pressed. Thank you very much