Created
November 17, 2020 21:56
-
-
Save aescripts/25d47ddcdd5a243bc272ad668ea7f9c0 to your computer and use it in GitHub Desktop.
#AfterEffects #Script #KBar #Scriptlet Set BG Color of Selected Comps
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
//Sets the color of the selected comps in the project panel to the bgColor | |
var bgColor = [0, 0, 0]; //RGB in float (0..1) | |
for (var i = 0; i < app.project.selection.length; i++) { | |
if (app.project.selection[i] instanceof CompItem) { | |
app.project.selection[i].bgColor = bgColor; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment