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
Auto-Scaling Text Layer with Width Constraints
Perfect for auto-scaling subtitles, banners, or text that needs to adapt to varying character counts without exceeding a defined width, ensuring consistency in responsive layouts.
Perfect for automating text-based workflows where layers have structured names like “Title - Subtitle” or “Section: Topic,” allowing you to use each part independently.