This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

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?

Godot version v3.4.3
in Engine by (75 points)
edited by

1 Answer

0 votes

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.

by (75 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.