Layers » Visibility

Visibility

For temporarily hiding layers. The difference with setting a layer’s opacity to 0 is that a layer with visible: no will not react to touches. The layer will be invisible and ‘untouchable.’

square = new Layer
    size: 300
    borderRadius: 11
    backgroundColor: "#877DD7"
    point: Align.center
    visible: no
square.onTap ->
    print "Layer tapped"
Download Framer project

You can set visible to no in Design by right-clicking a layer and selecting ‘Hide.’ This also works in Design’s Layer Panel.

A layer with zero visibility ?