To delete/remove/dispose one object by name

I want to dispose or just disable “bloom”.
Can pls somebody show me how to do that.
If I use dispose, all the other instances also are disposed.

Cheers. Werner

There was the syntax error in your PG. Should be:

scene.getMeshByName("bloom").isVisible = false;

You cannot dispose it since it will dispose all its instances as well, but you can make it invisible -


O thank you so much.

1 Like