Layer Selector

Layer Selector

Figma Plugin

Description

Layer Selector is a powerful Figma plugin designed to supercharge your workflow with advanced layer selection capabilities. Whether you're working with complex designs, organizing component libraries, or cleaning up messy layer hierarchies, this plugin provides intelligent tools to select layers quickly and efficiently.

Instead of manually clicking and holding Shift/Cmd to select multiple layers, Layer Selector automates common selection patterns, saving you time and reducing repetitive strain. Perfect for designers, UI/UX professionals, and anyone working with intricate Figma documents.

Key Capabilities

  • Hierarchical Selection: Navigate parent-child relationships instantly
  • Sibling Navigation: Select layers above or below your current selection
  • Pattern-Based Selection: Choose layers at regular intervals (every 2nd, 3rd, 4th, etc.)
  • Smart Inversion: Instantly select everything except your current selection
  • Random Selection: Pick a percentage of layers randomly for testing
  • Name-Based Search: Find and select layers by searching their names
  • Quick Menu Commands: Access common actions directly from Figma's menu

There are two ways to use Layer Selector:

🅰 Via Plugin Panel (Full Features)

1. Select layers in your design

  • Click on one or more layers in your Figma canvas or layers panel

2. Open the plugin

  • Go to Plugins → Layer Selector → Open Panel in Figma
  • A panel will appear on the right side of your screen:
image gallery

3. Choose your action

  • Parent/Child section: Click "Select All Children" or "Select Parent"
  • Sibling section: Click "Select Layers Above" or "Select Layers Below"
  • Pattern section: Enter your pattern interval (e.g., 2, 3, 4); Enter your offset (usually 0); Click "Select by Pattern"
  • Advanced section: Click "Invert Selection" or "Select Random"; For random, adjust the percentage slider;
  • Search section: Type a layer name in the search box; Click "Search and Select" or press Enter;

ㅤ4. View results

  • The plugin will display a notification showing how many layers were selected
  • Your selection in Figma will update immediately

🅱 Via Quick Menu Commands (Fast Access)

For frequently used actions, use the menu commands:

1. Right-click in Figma (go to Plugins → Layer Selector)

2. Choose a command:

  • Select All Children: Instantly select children of current layer
  • Select Parent: Instantly select parent layer
  • Select Layers Above: Select all siblings above
  • Select Layers Below: Select all siblings below
  • Invert Layer Selection: Invert current selection
  • Select Random Layers: Select 50% of layers randomly (default)
  • Open Panel: Open the full plugin panel

3. Plugin closes automatically

  • Menu commands execute immediately and close the plugin
  • No need to manually close anything

Plugin Features

➊ Parent/Child Selection

image gallery

Select All Children

  • What it does: Selects all direct children of the currently selected parent layer(s)
  • Use case: Quickly select all items inside a frame, group, or component
  • Example: Select a frame containing 50 elements → click "Select All Children" → all 50 elements are now selected

Select Parent Layer

  • What it does: Selects the parent layer(s) of your currently selected layer(s)
  • Use case: Navigate up the layer hierarchy without scrolling through the layers panel
  • Example: Select a nested text element → click "Select Parent" → its containing frame is now selected

➋ Sibling Selection

image gallery

Select All Layers Above

  • What it does: Selects all sibling layers positioned above the current selection in the layers panel
  • Use case: Batch-select all layers above a certain point for reordering or grouping
  • Example: In a frame with 20 children, select the 10th item → click "Select Layers Above" → items 11-20 are selected

Select All Layers Below

  • What it does: Selects all sibling layers positioned below the current selection in the layers panel
  • Use case: Quickly select everything below a divider or section marker
  • Example: In a frame with 20 children, select the 10th item → click "Select Layers Below" → items 1-9 are selected

➌ Invert Selection

image gallery

Invert Layer Selection

  • What it does: Selects all sibling layers that are NOT currently selected
  • Use case: Select everything except certain layers for batch operations
  • Example: Select 3 layers you want to keep → click "Invert Selection" → all other sibling layers are selected (ready to delete)

➍ Pattern Selection

image gallery

Select by Pattern

What it does: Selects layers at regular intervals based on your custom pattern.

Settings:

  • Pattern: The interval (e.g., 2 = every 2nd layer, 3 = every 3rd layer)
  • Offset: Starting position (0-based index)

Use cases:

  • Delete every other layer in a test grid
  • Select alternating rows in a table design
  • Pick specific items from a repeating pattern

  • Example: Pattern=2, Offset=0 → selects 1st, 3rd, 5th, 7th layers...
  • Example: Pattern=3, Offset=1 → selects 2nd, 5th, 8th, 11th layers...

➎ Random Selection

image gallery

Select Random Layers

  • What it does: Randomly selects a percentage of sibling layers
  • Settings: Percentage (1-100%)

Use cases:

  • Create variety in designs by randomly selecting items to modify
  • Test designs with partial data
  • Generate random layouts

Example: Set 50% → roughly half of the sibling layers are randomly selected

➏ Search and Select by Name

image gallery

Select by Name

  • What it does: Searches the entire page and selects all layers whose names contain your search query
  • Use case: Quickly find and select all instances of similarly named layers
  • Example: Search "button" → all layers with "button" in their name are selected
  • Case-insensitive: Searching "Icon" will match "icon", "Icon", "ICON", etc.

☻ Wrap-up

Whether you're cleaning up design files with hundreds of layers or building complex component systems, these selection tools will save you hours of manual clicking. Combine pattern selection with search and inversion to handle even the most intricate layer management tasks in seconds.

Leave a comment

Layer Selector

Version: 1.0.0

Updated:

  • 1.0.0 – Initial release.

  • Supported Versions:

    • Compatible with Adobe Illustrator CS6 and later, including Adobe Illustrator CC versions.

    Operating Systems:

    • Works on both macOS and Windows platforms.
  • End User License Agreement (EULA)

    Last Updated: 21.12.2024

    This End User License Agreement (“Agreement”) is a legal agreement between you (“User” or “Licensee”) and Samolevsky.com (“Licensor”) regarding the use of the Adobe Illustrator scripts (“Software”). By downloading, installing, or using the Software, you agree to be bound by the terms of this Agreement.

    1. Grant of License

    Licensor grants the User a non-exclusive, non-transferable, and revocable license to use the Software in accordance with this Agreement.

    • Free Software: If the Software is provided for free, you may use it for personal or commercial purposes without payment, subject to the restrictions outlined in this Agreement.
    • Paid Software: If the Software is provided for a fee, you may use it only after payment has been made in full.

    2. Usage Rights

    You are permitted to:

    • Install and use the Software on devices you own or control.
    • Use the Software in your personal or commercial projects, subject to compliance with this Agreement.

    3. Restrictions

    You may NOT:

    • Reverse engineer, decompile, or otherwise attempt to discover the source code, underlying ideas, or algorithms of the Software.
    • Reuse, incorporate, or integrate any portion of the Software into any other software, product, or project, except as expressly permitted by the Licensor in writing.
    • Resell, redistribute, or share the Software, whether in its original or modified form, without prior written consent from the Licensor.
    • Claim ownership of the Software or its underlying code.
    • Use the Software in any way that violates applicable laws or regulations.

    4. Ownership

    The Software and all intellectual property rights therein remain the exclusive property of the Licensor. This Agreement does not transfer ownership of the Software or any intellectual property rights to the User.

    5. Disclaimer of Warranties

    THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

    6. Limitation of Liability

    To the maximum extent permitted by law, Licensor shall not be liable for any damages, including but not limited to direct, indirect, incidental, special, or consequential damages, arising out of or related to the use or inability to use the Software.

    7. Termination

    This Agreement is effective until terminated. Licensor may terminate this Agreement immediately if you breach any term of this Agreement. Upon termination, you must cease all use of the Software and destroy any copies in your possession.

    8. Updates and Support

    Licensor is not obligated to provide updates, support, or maintenance for the Software. However, updates may be provided at the sole discretion of the Licensor.

    9. Governing Law

    This Agreement shall be governed by and construed in accordance with the laws of the State of New York, without regard to its conflict of law principles.

    10. Entire Agreement

    This Agreement constitutes the entire agreement between you and the Licensor concerning the Software and supersedes all prior or contemporaneous understandings regarding such subject matter.

    By using the Software, you acknowledge that you have read this Agreement, understand it, and agree to be bound by its terms.

    For any questions or concerns regarding this Agreement, please contact us at hello@samolevsky.com

Required Software

Figma

Figma is a cloud-based design and prototyping tool primarily used for user interface and user experience design. It allows designers, developers, and other stakeholders to collaborate in real-time on projects.

Browse More Plugins

  1. Explore Stroke Width Randomizer
    Stroke Width Randomizer

    Stroke Width Randomizer

    A powerful Figma plugin that applies random stroke widths to selected objects within a customizable range.

    Explore
  2. Explore Stroke Scaler
    Stroke Scaler

    Stroke Scaler

    A Figma plugin that allows you to scale and adjust stroke weights on selected objects with real-time preview.

    Explore
  3. Explore Select by Name
    Select by Name

    Select by Name

    Select by Name is a powerful Figma plugin that allows you to quickly find, filter, and select design elements by their names across your Figma documents. 

    Explore

Got questions?

Need help or have an idea to share? We’d love to hear from you! Whether you have questions, found a bug, have a feature request, or just want to share your feedback, reach out to us—we’re here for you!