Make invisible a button

Hi all!
I've create a button using the template node. The code to do this is the following:

<text x="400" y="125" style="text-anchor:middle"  font-weight="bold" font-size="80" font-family="Arial">{{(msg.payload||0)? " OPEN " : "CLOSED"}} </text>

In certain condition, I have the need to make invisible the entire button. How can I do?
Thanks in advance

Isn't this similar to your previous post - Button size using template node

1 Like