How to make child appearance independent?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By RockZombie123

Hello, I am making a game in Godot. The sprite needs to change it’s appearance whenever I press an arrow. I made the sprite the child of the main sprite/default sprite, but whenever I toggle off the main sprite to show the child sprite, the child sprite hides with the main sprite. How do I make a child node’s appearance toggle on it’s own without being controlled by it’s parent? Is it possible to do it on GUI, or should I simply use GDScript?

Thank you!

:bust_in_silhouette: Reply From: Cire_arievilo1

See this video

Randomly Variate Textures in Godot - 2 METHODS

try going to the inspector and clicking on the little arrow pointing down and clicking on Make unique

Sprite make unique

:bust_in_silhouette: Reply From: jgodfrey

Rather than having the two sprites in a parent/child relationship, make them siblings of each other. Then, when switching between them, just set the visibility of each sprite as appropriate.