Skip to content

Instantly share code, notes, and snippets.

@kemiljk
Created October 14, 2021 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kemiljk/2800da0c1e1a9bd9ac58924a8f11e360 to your computer and use it in GitHub Desktop.
Save kemiljk/2800da0c1e1a9bd9ac58924a8f11e360 to your computer and use it in GitHub Desktop.
Scripter: Remove masks from anything in your selection
selection.forEach((node: any) => {
node.isMask && node.remove();
for (const child of node.children) {
child.isMask && child.remove();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment