Forum Replies Created

  • Hi Dan,
    Kind of works, apart it sends the focus page to the back. Looks like there it just needs reversing to go to the front.

    Regards

    Mark

  • Hi Dan,
    Here is the expression –

    // Scale with control layer
    // Applied to scale parameter

    // Point1 is current layer, point2 is control layer
    point1=thisLayer.position;
    point2=thisComp.layer("Drag Me").position;

    // Find the vector between the 2 points
    delta=sub(point1, point2);

    // Now find the length
    distance=length(delta);

    //Remap distance to large scale when near, small when far
    linear(distance, 0, 100, [250,250], [75,75]);

    Regards

    Mark

  • Mark Mitchell

    February 22, 2019 at 2:31 pm in reply to: Change layer order with expressions

    Hi Dan I have 8 layers where I need to have only one layer at a time above all the others – like the apple dock. I am not familiar with expressions and hope you can explain which parameters I need to change to hopefully have this expression work for me.

    Thanks.
    Mark

    Regards

    Mark

  • Mark Mitchell

    February 21, 2019 at 5:10 pm in reply to: Scale via control layer

    Hi Dan,
    Thanks that works! Very grateful for your help.

    Regards

    Mark

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