extends Area2D @onready var timer: Timer = $Timer # Called when the node enters the scene tree for the first time. func _ready() -> void: timer.connect("timeout", _despawn) # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: pass func _despawn() -> void: queue_free()