I can not make the barcode visible when i click the button, Need solution in scripting

Hello,I need some assistance regarding the below point
i want to make the barcode visible when i click the button, can anybody help me to solve this problem, I am new in this platform, barcode is having visibility parameter in its properties.
thanks in advance.
image

perspective?


self.getSibling("Barcode").meta.visible = True