extends AnimatedSprite func _ready(): play('start') frame = 0 func _on_background_animation_finished(): play('idle') frame = 0