extends AnimationPlayer func _ready() -> void: speed_scale = Game.speed Game.speed_changed.connect(func(): speed_scale = Game.speed )