Hello! How to change the visibility of the object (3D Sprite, MeshInstance) when I enter his tree or just go through him? Please, can anyone say?

Welcome to the forums @Meldosh!

You can change the visibility of any node that extends a Spatial by changing the visible property (documentation). Using node_here.visible = false should make the node invisible, which then you can add to make it disappear upon entering the tree or after a collision.

2 years later