Just wondering about if statements in framer. Is it possible to do something like:
if oneItem.visible is true or twoItem.visible is true mask2.visible = falseelse mask2.visible = true
Not sure if I have done the if/else right or not but could really use some help :)
Hey John, Framer uses coffeescript and flow control can be written either the way you have just described, or on one line like this:
mask2.visible = if oneItem.visible or twoItem.visible is true then false else true
so the above should work then?
That's right :) (with the correct indentation)
thanks very much