extends Control @onready var animation = $AnimationPlayer as AnimationPlayer func _ready(): SignalManager.level_loading_start.connect(on_level_loading_start) SignalManager.level_loading_end.connect(on_level_loading_end) func on_level_loading_start(): animation.play("start") func on_level_loading_end(): animation.play("end")