hide nodes

Hi everyone,
I have got imported a model from glTF file. In gltf file is few nodes. I want hide one node from model.
I tried

var nodeHide = model.getNode('nodeName');
nodeHide._show = false;

but it didn't work.
Is there any way to hide node from model?

Thanks
retepik

Hello Retepik,

You shouldn’t ever change the private attributes of an object (anything that starts with _). Doing so can have unexpected side effects.

Try doing nodeHIde.show = false instead.

Best,

Hannah