extends CPUParticles2D var time :=0.0 # Called when the node enters the scene tree for the first time. func _ready() -> void: emitting = true # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: time+=delta if time >= 10: queue_free()