Hide loaded object

Hi! I was just wondering if there is a .display equivalent in three.js? I would like to toggle the visibility of a gltf I loaded. An “opacity” equivalent works as well!
Thanks

Yes, see https://threejs.org/docs/index.html#api/en/core/Object3D.visible

2 Likes

I can’t believe I missed that! I scanned over the Object3D docs page several times and never saw it once. Anyways, thanks a lot