extends Area2D func _ready(): pass func _on_Portail_de_fin_body_entered(body): if "Joueur" in body.name: get_tree().quit()