extends NinePatchRect signal click func set_text(text:String): $Label.text=text func _on_tool_button_pressed() -> void: click.emit() pass # Replace with function body.