Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi there,

There seems to be an issue with the mouse when playing on a computer that has 2 screen.

While I know you don't need to move the mouse, I still do it without thinking about it and found out that if I go out of the screen bound my mouse is on the desktop so when I click the game lose focus. 

Windows build

I can second this, probably just need to set 'Cursor.lockState = CursorLockMode.Confined' in a start function somewhere, then set 'Cursor.lockState = CursorLockMode.None' when the menu is opened, then reset to Confined when the menu is closed. (Confined only works on linux and windows)