After Effects Expression help
After Effects Expression help
Out of context: Reply #2
- Started
- Last post
- 2 Responses
- animatedgif0
Your problem is that index isn't an array it's just the depth of the current layer in the stack.
QBN cut the rest of your code off so I can't amend that, this should give you an idea where you went wrong.
[thisComp.layer(index-1).transfo...
thisComp.layer(index-1).transfor...Paste this into the position value of a layer and it will match the position of the layer above it.