Accessing Functions of a Child Scene

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

Hello!

I have created a weapon scene and added it as a child of my player scene. In the weapon scene, I have a variable “positionToFollow” in order to set the position of the weapon relative to the player. However, I do not know how to access that variable from my plyaer’s script. I am using C# for my scripting language.

Thank you!