Invalid get index 'position' (on base: 'null instance'). After add MainMenu scene.

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

I am just starting to deal with godot and as a training I started making an analogue of a simple retro game. And in the process I ran into probably the most common problem for beginners Invalid get index 'position' (on base: 'null instance'). Studying similar problems, I understand that most likely I need to use the get_node function, but I do not quite understand how and where to use it in my particular case.
Link to the repository with the current code - - GitHub - beliys/klad: KLAD is a retro game similar to Rise Out which was created for old Soviet computers KORVET
The problem occurs on the next line -
Thanks a lot for any help.

:bust_in_silhouette: Reply From: vnmk8

it means it can’t find the node you’re referencing, try to use autocomplete or copy the node path from the scene tab so you have a better idea where is the node you’re trying to call.