Skip to content

Instantly share code, notes, and snippets.

@Geri-Borbas
Created October 26, 2021 10:21
Show Gist options
  • Save Geri-Borbas/71682cb0ef5b23ba6bfbfa06a4b81bdf to your computer and use it in GitHub Desktop.
Save Geri-Borbas/71682cb0ef5b23ba6bfbfa06a4b81bdf to your computer and use it in GitHub Desktop.
Filter selection keeping visible objects only in Figma!
figma.currentPage.selection =
figma.currentPage.selection
.filter(eachNode =>
eachNode.visible == true
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment