Profile image

How to toggle text toggle text?

0 samcool102707  1.6 years ago

I am trying to make a display using the text "block" that can be turned on or off with a switch or button.
I am not a very good coder and I haven't found the best resource showing how to do this. I would love to get some help.
cheers -sam

  • Log in to leave a comment
  • Profile image
    49.3k PlaneFlightX

    Have a switch with an interaction type of toggle, and use the following code in the label: {VariableName = 1 ? "Text" : ""}
    Replace VariableName with the variable in the switch, and Text with whatever you want.

    1.6 years ago