-
AE Script adding a basic shape to an existing shape layer issue
Hi All.
I’m making this script where it takes an existing custom shape layer, add’s a poly star to it with stroke and fill. It works, but it adds the poly star somewhere off to the far right, instead of on top (same position) as the existing custom shape (see screenshshot, the T-Rex is the existing shape, and the polystar shape was added, but to the right and off canvas).
I’ve uploaded the text file if you wish to view, but I’m just using simple properties/addproperty with match names. No special conditions, for loops, or specifying the x/y values and moving this around. Just using the default coordinates.
I tried with simple squares and stuff too, and they never get centered, even when I check the anchor points. I can’t seem to figure out the phenomenon that’s causing this. I’ve attached my script as txt if you wish to check out the code.
Thank you