• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Turn on motion blur for all comps in one shot

Enthusiast ,
May 21, 2024 May 21, 2024

Copy link to clipboard

Copied

Is there a script out there to turn on motion blur in one shot? I have a script that does one comp at a time... but I have a plethora of comps to do.

TOPICS
How to , Performance , Scripting , User interface or workspaces

Views

67

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 21, 2024 May 21, 2024

Copy link to clipboard

Copied

Should be pretty straightforward:

function enableMotionBlur(){
	for (var i = 1; i <= app.project.numItems; i++){
		var comp = app.project.item(i);
		if (comp instanceof CompItem){
			for (var j = 1; j <= comp.numLayers; j++){
				if (comp.layer(j) instanceof AVLayer){
					comp.layer(j).motionBlur = true;
				}
			}
			comp.motionBlur = true;
		}
	}
}
enableMotionBlur();

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
May 21, 2024 May 21, 2024

Copy link to clipboard

Copied

LATEST

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines