how to make instanced scene use variables or functions from the script of it´s parent in visual script?

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

Hello

i´m testing visual script.
if i´m inside an instanced scene, how can i reach variables, that are stored in the stript from the main scene, where the opened scene is instanced in?

:bust_in_silhouette: Reply From: Drachenbauer

ok, now i found out, that i can have the script of the child and the inspector content of the parent node with the global variable on the screen the same time.

before i noticed this, i taught, as long i view the child-script, i only have access to the child scene-tree…

But i can choose the child script in the script list while the scene tree of another scene stays open.