Hi Dark Peace! Yeah so with Unity games, you have to click in the window and then it won't move your cursor off screen. I have seen in other games that somehow check for this and pause the game. I will be looking into that feature for my future game jam games. I am learning!
Also, I will check out your game once I am done replying to comments :)