Ensures a layer’s scale stays consistent even when its parent layer’s scale changes.
Contributed by:
s = []; ps = parent.transform.scale.value; for (i = 0; i < ps.length; i++){ s[i] = value[i]*100/ps[i]; } s
Maintain Scale While Parented Expression
Practical use case
Perfect for maintaining the original size of elements within a hierarchy, like text or UI components.
Check out similar expressions
Transformation
Snap to Layer or Comp Corners
Ideal for neatly lining up text, graphics, or logos without manually dragging them around. You can make lower-thirds stay aligned to a box, keep captions centered under a video, or build layouts that stay tidy no matter how your layers change.
Use this when you’re replacing footage or images in a template and want them to instantly scale to the right size without guessing. It’s great for social-media versions (square, vertical, or widescreen), product videos, or automated projects where every image needs to fit just right every time.