Autocenter Anchor Pulse

Centers the anchor point automatically and applies a gentle pulsing motion.

Code

// Autocenter
center = [sourceRectAtTime(time, false).width/2, sourceRectAtTime(time, false).height/2];
// Pulse
amp = 5;
freq = 2;
[center[0], center[1]] + [Math.sin(time*freq)*amp, Math.sin(time*freq)*amp]
autocenteranchor pointpulse2D

How to Use

Apply to Anchor Point to automatically set it to the layer's center and add a subtle pulsing effect. Great for text or shape layers.