scene_a.gd 167 B

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