Skip Navigation

Customizing layer visibility

1 min read

Custom layer visibility shows or hides a layer when you hover, tap, or press it — which is especially useful when you want to add buttons, menus, or similar interactive elements to your prototype.

Set a layer’s visibility

To customize how a layer appears in a prototype, set custom visibility settings in the Prototyping panel.

  1. Select a layer.
  2. Open the Prototyping panel.
  3. In the Visibility section, click the Circle with plus icon.
  4. Choose an Action (Show, Hide, or Toggle) and a Trigger (Hover, Press, or both).

Use Action to set what happens to the layer’s visibility: Show, Hide, or Toggle. The Toggle option changes the layer’s visibility every time you press it in the prototype.

How to enable custom visibility for a layer

Next, choose Hover or Press as a trigger — or select both:

  • Hover changes a layer’s visibility when the cursor is within its bounds.
  • Press changes a layer’s visibility when you press the layer with your cursor or finger (if you’re playing a prototype on the iOS app, for example).

How to assign hover and press triggers to a layer

Once you’ve added custom visibility to a layer, preview your prototype to see the result.

A prototype preview of a Symbol with custom visibility