Forum Replies Created

  • Rob Moffett

    May 20, 2009 at 5:06 am in reply to: sampleimage

    Ha, worked it out. Here’s the solution if anyone wants it.

    target = thisComp.layer(“background”);
    a=target.sampleImage([transform.position[0],transform.position[1]], [width, height]/2, true, time)[3];
    value=linear(a, 0, 0.36, 0, 180)

  • Rob Moffett

    May 20, 2009 at 5:01 am in reply to: sampleimage

    Ok, so I discovered that the error “must be 2 numbers” is because the layer i want to effect is a 3D layer, and is returning 3 numbers (xyz)

    Is there a way around this, or is the sampleimage expression limited to 2D?

  • Rob Moffett

    April 27, 2009 at 4:08 am in reply to: Creating a script to apply an expression

    Haha, so much more simple than I thought!

    You truly are the expression god.

    Thanks D-man!

  • Rob Moffett

    October 18, 2007 at 3:35 am in reply to: Moving around the Comp window when zoomed in

    hold down space, it will bring up the hand tool.

    ;D

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