Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions linking to only – x, y or z .

  • linking to only – x, y or z .

    Posted by Richie Tovell on December 26, 2008 at 3:01 pm

    Hi, appologies I know nothing about expressions and up until now have not needed to use them, but now I’m stuck can anyone help?

    I want to link the output of trapcode soundkeys to just the X position of a layer. I drag the pickwhip from the position expresion controls to the output of Trapcode soundkeys and firstly the layers shoots off to the right then I get no movement at all. How do I achieve what I want to do, when I drag the pickwhip from the layer position to soundkeys, this expression appears by the position controls

    temp = thisComp.layer(“Black Solid 9”).effect(“Sound Keys”)(“Output 1”);
    [temp, temp, temp]

    I’m sure I need to edit this expresion to something else, I solely want Soundkeys to effect the X position.

    I also need to repeat this proccess for some of the other “linked” 3x perameters like for example, for a layers width only.

    Can anyone help, I should think this is as far as my needs go for expresions, so if someone could help me out on this one I should be able to get by with the rest of after effects ok. . . . I hope 🙂

    Richie Tovell replied 17 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    December 26, 2008 at 6:09 pm

    Like this:

    temp = thisComp.layer(“Black Solid 9”).effect(“Sound Keys”)(“Output 1”);
    [temp, value[1], value[2]]

    Or, if you just want the sound to offset the x position, like this:

    temp = thisComp.layer(“Black Solid 9”).effect(“Sound Keys”)(“Output 1”);
    value + [temp, 0, 0]

    Dan

  • Richie Tovell

    December 26, 2008 at 6:43 pm

    Coooool Dan 🙂

    Thanks thats done the trick.

    Richie.

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