extends Area3D # Called when the node enters the scene tree for the first time. func _ready(): body_entered.connect(_on_area_entered) func _on_area_entered(_body : Node3D) -> void: Globals.next = true