extends RigidBody2D func _ready(): $AnimatedSprite.play() func _on_AnimatedSprite_animation_finished(): queue_free()