Expected ',' or ')' in a really simple code

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

The code is literally really simple as I’m just a complete begginer when it comes to godot and programming. Below theres the code

extends Panel

func _ready():
	get_node("Button").connect("pressed",self, "_on_Button_pressed"
	
func _on_Button_pressed():
	get_node("Label").text = "HELLO!"

The error says: error(6,1): Expected ‘,’ or ‘)’

:bust_in_silhouette: Reply From: kidscancode

You’re missing a closing ) at the end of that 3rd line of code. It expected a ‘)’.