Skip to main content
Inspiring
December 9, 2022
Answered

Mirror x-position and time-delay expression

  • December 9, 2022
  • 2 replies
  • 712 views

Using Limber, I want to mirror the right arm-movement ("B-Wrist") for the left arm ("F-Wrist") and delay it with 17 frames. For the y-position on the left arm, I use this expression which works how I want: 

 

A = thisComp.layer("B-Wrist").transform.yPosition

F = 17; //frames to delay

T = time - (F *thisComp.frameDuration);

A.valueAtTime(T);

 

On the x-position, it's using the right arms x-position and previously I've added a "*-1" after the parent-expression when not delaying the movement. But how do I use the expression above and add that negative mirror expression?! 

 

Thanks

 

This topic has been closed for replies.
Correct answer Mylenium

A.valueAtTime(T)*-1 or even simpler just -A.valueAtTime(T).

 

Mylenium

2 replies

Mylenium
MyleniumCorrect answer
Legend
December 9, 2022

A.valueAtTime(T)*-1 or even simpler just -A.valueAtTime(T).

 

Mylenium

Inspiring
December 9, 2022

Unbelievable, thanks! 

Mylenium
Legend
December 9, 2022

Simply add it as a multiplier on the last line. Not sure what more you would need to know here.

 

Mylenium

Inspiring
December 9, 2022

Then it's my non existing expression-skills that messes it up. Here's the error message: