How to access script variables of child scenes in inspector

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

I’m hoping to find a way to set a node (and all of it’s childrens’) script variables via the inspector, but the inspector only shows variables from the currently selected node. Is there a way to expose the variables from the children in the parent, or would I be better off instantiating the child scenes and setting their variables in _onready()?

:bust_in_silhouette: Reply From: djmick

You can use:
and then set an export variable’s value to the Variable_Name.

I’m not sure that is the answer to the question you were asking, but I think it should help.