Back to Plugins
ToggleVisibleByName

ToggleVisibleByName

<p>Prompts for a name.</p><p>Finds any layers that match that name.</p><p>Toggles those layers' visibility.</p><p><br></p><p><a href="https://i.imgur.com/BYFpnfj.gif" rel="noreferrer noopener nofollow ugc" target="_blank">Usage example gif</a>.</p><p><br></p><p>Use the quick actions bar and bring up ToggleVisibleByName. You can then start typing a layer name pattern. When you hit enter (or click on a suggestion) it will search through all of the current page's layers, find any that match your name pattern, and toggle the visibility of that layer (ie, if it was visible, it will become invisible; if it was invisible, it will become visible).</p><p><br></p><p>If you don't like what you see (or ... don't see!), you can run the command again with the same name to bring it back to the way it was before.</p><p><br></p><p>It ships with one default entry "Annotate it! – Badge" because we are using <a href="https://www.figma.com/community/plugin/859894273811051899/Annotate-it!" rel="noreferrer noopener nofollow ugc" target="_blank">Annotate it!</a> (and loving it!), but wanted to be able to quickly toggle the annotation markers.</p>

showvisibilitylayerstoggleby namehide

Plugin Preview

ToggleVisibleByName preview

About this plugin

Prompts for a name.

Finds any layers that match that name.

Toggles those layers' visibility.


Usage example gif.


Use the quick actions bar and bring up ToggleVisibleByName. You can then start typing a layer name pattern. When you hit enter (or click on a suggestion) it will search through all of the current page's layers, find any that match your name pattern, and toggle the visibility of that layer (ie, if it was visible, it will become invisible; if it was invisible, it will become visible).


If you don't like what you see (or ... don't see!), you can run the command again with the same name to bring it back to the way it was before.


It ships with one default entry "Annotate it! – Badge" because we are using Annotate it! (and loving it!), but wanted to be able to quickly toggle the annotation markers.

Plugin Details

Version1
CreatedJanuary 28, 2022
Last UpdatedJanuary 28, 2022
CategorySoftware development
CreatorJoe Pietruch
Stats269 installs, 16 likes
PricingFree

Technical Details

  • API:1.0.0
  • main:code.js
  • Editor Types:
    figma