I was wondering how I would go about making object 2 invisible until I click on object 1

So I already have everything set up such as the script and the models and when I click on model 1 it transforms into model 2. but the problem is model 2 stays in the scene and I don’t want it there because then it just has 2 object 2’s in the scene, any Idea’s?

You can attach a script with
Destroy(gameObject);
To remove something from the scene.

You can also turn off the mesh renderer:

this.renderer.enabled = false;