class_name SelectButton extends Button signal lab_selected export(int) var index := 0 func _on_self_pressed(): emit_signal("lab_selected", index)