Hide AnimationPlayer on Godot4.2

Hello! I think maybe this is a bug or something. i have a main Control node on my scene, and inside I have some buttons and an AnimationPlayer, but when I hide the main node it hides everything except the AnimationPlayer. I also tried to hide by code with hide(), but still, hides everything except the ’ AnimationPlayer. Help??

AnimationPlayer are never visible on screen, so there isn’t an actual way to “hide” them.

1 Like

so then i need to hide the sprites?

Sorry I came from Unity and there was only hide the ‘AnimationPlayer’, so need to understand how Godot works.

Show us your scene tree that contains the nodes you want to hide, please.

Here, want to hide all Main tree but The Sprite inside AnimationTree don’t hide.

Why are you putting it under the animation? That means it ignores any transofmration relationship, and of course skips the visibility

so what will be the correct way of doing it?

Just put it next to the Caterpillar_Animation node, why was it under that one?

thanks! sorry, I came from Unity, there was needed to be down. But now i get it. thanks!

1 Like