Make objects disappear and appear by clicking on it

How can a user may text object appear and disappear by clicking on that object?
Is it possible to code this with code blocks?

Hi @Thomas_McNeal,

To make an object disappear when it is being clicked you can set its scale to zero value by using the “set scale of … to …” CoBlock from the Transitions/Scale CoBlocks toolbox category.

47

If you want it to appear back later at some point (you actually won’t be able to click it anymore since it’s not visible after you shrank it) you can use the same CoBlock and set the value to 1 (or anything else greater than 0 to scale it back).

Hope this helps.

2 Likes

This is Great!

Thank You

Thomas