Last active
June 27, 2019 18:39
-
-
Save justintaylor-dev/14533325b2de1df4a20e797e94bfca31 to your computer and use it in GitHub Desktop.
Select Unparented #code_aeft
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
// Selects all Unparented Layers | |
var layers = app.project.activeItem.layers; | |
var num = app.project.activeItem.layers.length; | |
for(var i = 0; i < num;i++){ | |
var layer = layers[i+1]; | |
layer.parent === null ? layer.selected = true: null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment