1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
extends Panel # member variables here, example: # var a=2 # var b="textvar" func _ready(): # Initalization here pass func _on_goto_scene_pressed(): get_node("/root/global").goto_scene("res://scene_b.scn") pass # replace with function body