Skip to main content
Inspiring
May 16, 2016
Answered

Access a variable in a different layer?

  • May 16, 2016
  • 1 reply
  • 636 views

Is there a way to access a variable in a different layer?

Example:

Layer 1 expression:

x1=v*time;

.....

Layer 2 expression:

//something like this

anotherLayerX1 = thisComp.layer("1").GetVariable(x1);

thisComp.layer("1").SetVariable(x1, anotherLayerX1+10);

This topic has been closed for replies.
Correct answer Dan Ebberts

Nope. The only thing available to other expressions is the resulting value.

Dan

1 reply

Dan Ebberts
Community Expert
Dan EbbertsCommunity ExpertCorrect answer
Community Expert
May 16, 2016

Nope. The only thing available to other expressions is the resulting value.

Dan