scene_a.gd 160 B

123456
  1. extends Panel
  2. func _on_goto_scene_pressed():
  3. # Change the scene to the one located at the given path.
  4. get_tree().change_scene_to_file("res://scene_b.tscn")