is it possible to make an object invisible if so what the code for it
Yes.
gameObject.renderer.enabled = false;