extends AnimatedSprite2D var animation_state_dict = { } func _ready() -> void: if animation: play(animation)