ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Accessing Z-Position inside Effect via Scripting

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Geoff RightsAccessing Z-Position inside Effect via Scripting
by on May 6, 2016 at 2:15:51 pm
Last Edited By Geoff Rights on May 6, 2016 at 2:20:15 pm

Hey all,

I have access to my card dance effect by calling:

hdLayer = my indexed layer

var myeffect ="Effects").addProperty("Card Dance");
myeffect("Gradient Layer 1").setValue(2);

I was able to access each of those values correctly; unfortunately I cannot access "sub properties?".

I am now trying to access the source, offset, multiplier values inside the the Z-Position (category?, property?) of the effect but it's returning an error.

I have attempted:

myeffect("Z Position")("Offset")
myeffect("Z Position").property("Offset")"Z Position")("Offset")"Z Position").property("Offset")

Any help would be great, thanks!

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved