extends VBoxContainer signal clicked @export var label: String: set(value): label = value $Label.text = value $Label.visible = !!value @onready var list := %PlayersList func _ready(): $Label.visible = !!label list.remove_child(list.get_child(0)) list.remove_child(list.get_child(0)) func _on_label_gui_input(event: InputEvent) -> void: if event.is_action("select"): clicked.emit()