make sprite invisible in playmode unity code example Example: make sprite invisible unity gameObject.renderer.enabled= false;