super_space_game/scripts/exit_ship.gd

5 lines
103 B
GDScript3
Raw Normal View History

extends Sprite2D
func _interact() -> void:
get_tree().change_scene_to_file("res://scenes/game.tscn")