class_name ThrustEffect extends GPUParticles2D func _on_thrusted(power: float) -> void: if power == 0.0 : set_emitting(false) else : set_emitting(true)