when i make this script Code (csharp): var nxtlvl : boolean = false; function React () { nxtlvl = true; } function Update () { if(nxtlvl) { GetComponent (MeshRenderer); } } i know the boolean works but the getcomponent doesn't work because i need a cube to render any ideas?