How to make button invisible?

Hello! I am trying to make a quiz app with 4 possible answers. Once in a while, a question has only 3, and I would like for the empty text button to become invisible. How could I do that?

1 Like

use this one in your code wherever appropriate
image

Set it to false to hide it.
Set it to true to show it.

2 Likes

Thank you, but what command should I use for the button to become visible or not?


I tried like this, but it doesn’t work.

1 Like

The cell value is probably not null. It’s probably an empty string (“”). Try that block from the Text drawer and see if it works.

3 Likes

Just as commented by @tatiang check the value of the cell that you are retrieving. If you are not sure then check that the value is null or empty.

similar to this

2 Likes

Thank you!!!

1 Like