-
I’m going crazy with something that i think is really simple [Reset anchors]
Hello guys, i’m going crazy with something that i think is really simple but i don’t know how to achieve it, i’m trying to make a Script with a button that when you click it:
-
The script will copy the original anchor point value of the selected shape layer’s “Transform” to the “Anchor Point” properties inside each content group.
-
Then, it will reset the anchor point of the selected shape layer to [0, 0].
Maybe someone has a better solution to what i’m actually trying to do, i’m trying to create an .ffx file with a little animation in the “position” of the layer, but i want to apply it to any layer no matter it’s position values. The problem is that the layer moves to the position of the .ffx file. So i was trying to make a script to reset all anchor points to [0,0] and create the .ffx animation in the “anchor point” property instead of the “position” property.
I want to avoid using expressions.
Anyone can point me in the right direction? Thanks
-