Swapping between 2 model(glb)

Can I switch between different models (glb) in the scene? for example, I need to add a button, model 1 show, and then model 2 hide. When I press the button again, model 2 show, model 1 hide.

@ABC_Newbie

These are several possible solutions. One of them it to have both models in the scene, but to control which one is actually drawn by setting their visible properties to true or false.

https://threejs.org/docs/#api/en/core/Object3D.visible

– Pavel