How can I change something that is in another scene?

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

Lets say I want to change some variable in scene 2 from scene 1. How can I do that?

:bust_in_silhouette: Reply From: exuin

If scene 2 is a child of scene 1 you can just get the path to it. If it’s not, you have to use an absolute path or go up with $“…”. You shouldn’t do that though it’s bad practice and you should use signals instead