Hello, this is my first post here but have been reading the forum loads and it has been a great help.
I have a layer thats Parented to another layer on which I have keyframed a few rotations. What I would like to be able to do is get the actual X & Y positions of the Parented layer whilst it is being moved by the Parent.
Is this possible?
Ideally I would like to convert that data to keyframes to add to the Parented layer- hopefully getting rid of the original Parent layer.
any help much appreciated!
2 posts • Page 1 of 1
You can get the position of a parented layer by adding this expression to the Position property of another layer:
To bake the result into keyframes, add a keyframe to the property with the expression, right-click on it and choose Keyframe Assistant > Convert Expression to Keyframes.
Code: Select all
a = thisComp.layer("name of parented layer"); a.toWorld(a.anchorPoint);