extends Control signal startGame # Called when the node enters the scene tree for the first time. func _ready(): pass # Replace with function body. func _on_exit_pressed(): get_tree().quit() func _on_start_pressed(): emit_signal("startGame") func _on_settings_pressed(): pass # Replace with function body. func _on_load_level_pressed(): $VBoxContainer.hide() $ItemList.show() func _on_item_list_item_clicked(index, at_position, mouse_button_index): if index == 0: $ItemList.hide() $VBoxContainer.show()