extends CPUParticles2D var returningAntsDelay = 0.9 func _process(delta): if returningAntsDelay > 0: returningAntsDelay -= delta if returningAntsDelay <= 0: var returningAnts = preload("res://UI/Cleaning/AntsReturning.tscn").instantiate() returningAnts.emitting = true add_sibling(returningAnts) func _on_finished(): queue_free()