extends Node2D var go_to_scene = "res://scenes/world/world.tscn" func _ready(): $Score.text = "Score: " + str(Globals.score) func _on_button_pressed() -> void: get_tree().change_scene_to_file(go_to_scene)