Skip to main content

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

Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)

That should restrict your mouse cursor for a first person game.