Quantcast
Channel: Adobe Community : Popular Discussions - After Effects Expressions
Viewing all articles
Browse latest Browse all 47983

Paths, Keyframes, and Expressions

$
0
0

Hi,

 

Is it possible to change the shape layer path keyframes via expressions? For example:

key(1).value = thisComp.layer("Reference").content("Smile").path;

key(2).value = thisComp.layer("Reference").content("Frown").path;

 

In theory, the result should be that the path's first keyframe would look like a smile and the second keyframe would look like a frown.

 

But that isn't happening. Instead, the path has the shape of whichever value is on the last line of the expression, regardless of which keyframe it is at. Am I doing something wrong? Why is this happening?

 

Thank you so much for your time,

 

--Saib


Viewing all articles
Browse latest Browse all 47983

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>