first person - hide mouse

I am making a first person game and i want to know how to make it so you don't see the mouse in game.

Try this:

Screen.showCursor = false;

And just place that into a game empty on your scene.

--- More Complex ---

var Paused = false;

function Update(){

Screen.showCursor = false;

if(Input.GetKeyDown("p") && Paused == false){
Screen.showCursor = true;
Paused = true;

if(Input.GetKeyDown("p") && Paused == true){
Screen.showCursor = false;
Paused = false;

This allows you to view cursor when in a pause state.