controls.gd 147 B

123456789
  1. extends Panel
  2. func _on_back_pressed():
  3. var scene = load("res://main.tscn")
  4. var si = scene.instance()
  5. get_parent().add_child(si)
  6. queue_free()