Godot Version
v3.5.3.
Question
Heya! So, back here again, i’m tryna make a button work on my project. It’s supposed to take you to a Test area or a Starting cutscene. For some reason, it just isn’t working, despite followig a tutorial of the version i’m working with.
Code:

I don’t know what the debugger is detecting that is making it freak out, it just is.
What does the error say?
There are three errors, I’m not sure which order the editor will tell you them in.
The first error is get
is defined as a function, what you want to use is get_tree()
instead of get.tree()
.
Second, that line (11) doesn’t need a colon at the end, remove the :
Finally un-indent or remove the pass
line. pass
is a placeholder keyword that can be deleted if there is code within a function. Notice _ready
and _process
only have pass
, thus do nothing, they are placeholding.