class_name HUDComponent extends Sprite3D @export var health: HealthComponent func _ready(): texture = $SubViewport.get_texture()