extends Node2D @export var play_sound := false func _ready() -> void: $AnimatedSprite2D.animation_finished.connect(func(): queue_free() ) if play_sound: $AudioStreamPlayer.play() $AnimatedSprite2D.play() $AnimatedSprite2D2.play()