Change property of a child of a scene instance node

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By codevanya
:warning: Old Version Published before Godot 3 was released.

I have a main play scene structured like this:


Now, the CloudScene1,2 are scene instances. It is like this:


In my main play scene, I want to instantiate different types of clouds. I want to change the texture of Sprite in CloudScene for different children from the main play scene itself. How to do that? Is it not possible without coding?

If the scene instance node was expandable, it would have been really useful.

:bust_in_silhouette: Reply From: Rasmus

If the scene instance node was expandable, it would have been really useful.

You can click the arrow next to the name of the scene and click “Editable Children” to show the instanced scene and all its nodes.

About changing the texture without code, i guess it would be possible to do so with the AnimationPlayer

Oh! How stupid of me! The option was right there all the time and I didn’t see it. Thank you.

codevanya | 2016-11-23 15:21

Just to add if anyone sees this, in 3.x ++ you have to right click the node and select “Editable Children”! Was searching for this for hours :open_mouth:

Difference is the scene icon now opens in a new tab.

wombatTurkey | 2018-03-22 04:55

:bust_in_silhouette: Reply From: volzhs

You can see scene icon on Scene panel with instanced scene node.
Click and check Editable Children.
Then you can see child nodes and change there properties.
Those changes are saved in current edited scene.

Yes I see that now. Thanks.

codevanya | 2016-11-23 15:22