Hello! I'm following the tutorial at docs.godotengine.org/en/stable/gettingstarted/stepby_step/signals.html
and it spits an error at me when i try to func _ready():
....var timer = get_node('Timer')
....timer.timeout.connect(toggle_visibility)
, where toggle_visibility
is a declared function.
The error remains even if I copy-paste the code into the editor.
How do I do this?