How do I get rid of the mouse on the mous look script

The built in mouse look for the First person controler has the mouse on it and I keep clicking stuff when I shoot in my game how do I get rid of it?

Given that I correctly understand the problem - have you tried to use Screen.lockCursor ( I suppose that should solve your problem.

If you want to get rid of the mouse i used this code (java script, Just attach it to your camera)

function Update () {
//hide the cursor (at the beginning of the game)
Screen.showCursor = false;

I combined this with my pause menu so when i push esc the pause menu then activates the mouse once again to allow me to click stuff.

Hope it helped.

thx alllllllllllllllllllllllllot