Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Motion Blur switch on/off for All comps

  • Motion Blur switch on/off for All comps

  • Bentsi Beberashvili

    September 19, 2020 at 6:22 pm

    I work with AE and Premier together often. I setup multiple AE comps and bring them in to premier. I don’t like rendering them out because, clients always have changes and I also like changing things on the fly to sync to music or VO. The issue I have is with the motion blur switch. When I’m doing the rough, I want the motion blur off so the render times are quicker. But when I’m ready for the final output, I have to open up AE and go thru each and every comp to turn on/off the motion blur. I was wondering if there was a plug in or something that allowed me to turn on/off all motion blur from one button or location. Since, there’s no “Best Quality” option from premier where I render my work from.

  • Helena Masterson

    September 19, 2020 at 6:32 pm

    You could try precomping all the comps then set the motion blur on that one main comp.

  • Bentsi Beberashvili

    September 19, 2020 at 6:53 pm

    Thanks Helena, Yes, that makes sense. I just realized it and did a head smack. Tho, it’d still be nice to have a switch to do the same.

    Thanks again.

  • Brendon Murphy

    September 20, 2020 at 3:49 am

    I scripted out a quick control for toggling comp motion blur – code below. To install it:

    Open the script editor window under File>Scripts>Open Script Editor. Paste the code into the window and save the file somewhere. Move the file into the ScriptUI Panels folder and restart AE. You will then see the tool under your “Window” menu. The panel, shown in the image, is dockable.

    function disableMoBlur(){

    var items = app.project.items;

    for (var i = 1; i <= items.length; i++) {

    if (items[i] instanceof CompItem){

    app.project.item(i).motionBlur = false



    alert(“Motion Blur DISABLED On All Comps”);


    function enableMoBlur(){

    var items = app.project.items;

    for (var i = 1; i <= items.length; i++) {

    if (items[i] instanceof CompItem){

    app.project.item(i).motionBlur = true



    alert(“Motion Blur ENABLED On All Comps”);


    //set up dockable GUI


    function myScript(thisObj) {

    function myScript_buildUI(thisObj) {

    var myPanel = (thisObj instanceof Panel) ? thisObj : new Window(“palette”, “Motion Blur Control”, undefined, {resizable:true});

    res = “group{orientation:’row’, alignment:[‘left’, ‘top’],\

    groupOne: Group{orientation:’column’, alignment:[‘left’, ‘top’],\

    myButton: Button{text:’Disable Comp Motion Blur’, alignment:[‘left’, ‘top’]},\

    myButton2: Button{text:’Enable Comp Motion Blur’, alignment:[‘left’, ‘top’]},\



    //Add resource string to panel

    myPanel.grp = myPanel.add(res);

    //set up button functions

    var runFirstButton = myPanel.grp.groupOne.myButton;

    var runSecondButton = myPanel.grp.groupOne.myButton2;

    runFirstButton.onClick = function(){



    runSecondButton.onClick = function(){



    //Setup panel sizing and make panel resizable


    myPanel.grp.minimumSize = myPanel.grp.size;


    myPanel.onResizing = myPanel.onResize = function () {this.layout.resize();}

    return myPanel;


    var myScriptPal = myScript_buildUI(thisObj);

    if ((myScriptPal != null) && (myScriptPal instanceof Window)) {;;





  • Asim Ali

    May 28, 2021 at 9:00 pm

    Hi, I tried this script it gives an error “Unable to execute script at line 15. syntax error”

  • Asim Ali

    June 6, 2021 at 4:15 pm

    I tried this script but it gives an error “Unable to execute the script at line 15. syntax error” can you help me?

  • Brice Munn

    June 15, 2021 at 3:59 pm

    Second this! I usually workflow animations with no motion blur to make previewing along the way easier, and then go through and add it in bulk before my final export. Would love if one checkbox could do that!

    Also would love if motion blur with the C4D 3D Renderer was a thing, but that’s a whole different conversation.

  • Muhammed Şamil Tekin

    September 18, 2021 at 11:09 am

    There is no problem in the above code, only when copy-paste is done, the character of the quotation marks changes, so you get this warning. Try copy and paste from the attached note. This may be because of copy-pasting the code from within the web page. So I copied it from the webpage and fixed the quotes in Brendon’s code.

  • Ford Filomeno

    December 2, 2021 at 7:28 pm

    This works! 😀 Thanks dude!

    Million thanks to Brendon for the code.

Viewing 1 - 9 of 9 posts

Log in to reply.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy