extends Node3D func _process(delta): visible = Globals.task == 2 func _on_visibility_changed(): if visible: $heart.play() else: $heart.stop()