I have a scene tree like this:
1. Node
2. ---TitleScreen
3. ---GameLoop
4. ------NewGame
5. ---------TextureRect
The problem is the image in the TextureRect shows up in the title screen.
So I try hiding the TextureRect but I can't seem to show it afterwards.
I attach a script to NewGame
func _ready():
$Node/GameLoop/NewGame.show()
But this returns an error
Attempt to call function 'show' in base 'null instance' on a null instance.
What am I doing wrong?
(also don't know how to do code tags in this forum)