extends Sprite2D var output_value: int func setup(output_value): print("Producer spawned physically with a value of: ", output_value) $text_value.text = str(output_value) # Called when the node enters the scene tree for the first time. func _ready() -> void: pass # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: pass