Created
October 14, 2021 14:40
-
-
Save kemiljk/2800da0c1e1a9bd9ac58924a8f11e360 to your computer and use it in GitHub Desktop.
Scripter: Remove masks from anything in your selection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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