mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 07:50:22 +01:00
7 lines
160 B
GDScript
7 lines
160 B
GDScript
extends Panel
|
|
|
|
|
|
func _on_goto_scene_pressed():
|
|
# Change the scene to the one located at the given path.
|
|
get_tree().change_scene_to_file("res://scene_b.tscn")
|