Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • Posted by Greg Howell on August 5, 2020 at 5:06 pm

    Hi

    I have a scene with multiple layers. Id like to move them off the screen all together as if there is depth to the scene (some layers moving slower than others). Id like to change this variable for each layer.

    Is there an expression i can link to a null so i can just animate the null left and right?

    thanks!

    Greg

    Greg Howell replied 5 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Andrei Popa

    August 6, 2020 at 5:45 am

    I added a slider to the layer, named Factor. This is added to make the control of the speed easier. I also divided it by 100 in my expression to make the customization easier.
    The reference position is the “Control Null” layer’s position.
    You may need to tweak here and there but I think this is a good place to start.


    startP = [thisComp.width/2,thisComp.height/2];
    ctrlP = thisComp.layer("Control Null").position;
    factor = effect("Factor")("Slider")/100;
    value+(ctrlP-startP)*factor

    Andrei
    My Envato portfolio.

  • Greg Howell

    August 6, 2020 at 3:54 pm

    Thanks Andrei!, Ill give it a go

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