Framer Classic » Layers » Opacity

Opacity

The opacity property sets the transparency of the layer. The default value is 1: fully opaque, and any lower value will make the layer (plus its shadow(s), and possible child layers) more transparent.

A layer with an opacity of 0 is completely invisible but will still react to taps and other gestures.

square = new Layer
    size: 300
    borderRadius: 11
    backgroundColor: "#877DD7"
    point: Align.center
    opacity: 0

square.onTap ->
    this.animate
        opacity: 1
Open in Framer
A layer with zero opacity

Leave a Reply