Skip to main content

for example, when an overlay is visible it causes another component to hide.


I have this prototype where clicking on a bottle, cause a label to be displayed over the bottle. Clicking outside the overlay closes the overlay and on a different bottle causes the overlay to appear over that bottle.


This is behaving as I want it to.


There is a default label that is visible before any bottle has been clicked, but once another bottle has been clicked I want that label to be hidden. Is that possible.


Test playground here

Hi @Sam84 ,


You can easily achieve this by using local variables. Simply create a boolean variable with a true value and attach it to the text layer you want to toggle. Then, for the wine components that arenโ€™t expanded, add an interaction that sets that variable to false.




Reply