Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
Cursor.lockState = CursorLockMode.Locked;

Put that in the start method of your player script

already fixed it lo