<p>I have two mask layers, each whose 'Parent' is a type layer. When I change the Scale of the type layer, the mask layer adjusts its size proportionately, but when I change the size of the type using the Source Text parameter the mask does not react. Is it possible for the mask to change size at the same time the size of the Source Text does?</p>

<p>Thanks for any help.</p>

CC BY-SA 3.0
2015-02-12T00:56:09.477Z
Normally linking one parameter to another is fairly easy with expressions, but in this case the *Source Text* property only returns the text content; all of the style information like the font size isn't accessible. Is there a reason why you're animating the font size rather than the scale of the layer?
stib
CC BY-SA 3.0
2015-02-12T15:49:48.437Z
Thanks for the explanation. I wanted the change in text size to be immediate, instead of over time via keyframes, although I put the keyframes 1 frame apart and it achieves the same thing.
sstaccato
CC BY-SA 3.0
2015-02-13T02:40:39.523Z
Right click on the keyframe and choose **Toggle Hold Keyframe** that turns it into a hold keyframe that doesn't interpolate: i.e. it stays the same until it hits the next keyframe and then changes instantly. Saves a lot of mucking about with one-frame-apart keyframes.
stib
<after-effects>
No change to mask when parent's source text size changes
sstaccato
# No change to mask when parent's source text size changes

(Asked by: username_0 on 2015-02-11)

I have two mask layers, each whose 'Parent' is a type layer. When I change the Scale of the type layer, the mask layer adjusts its size proportionately, but when I change the size of the type using the Source Text parameter the mask does not react. Is it possible for the mask to change size at the same time the size of the Source Text does?

Thanks for any help.

**Tags:** after-effects

> **Comments:**
> **username_1**: Normally linking one parameter to another is fairly easy with expressions, but in this case the *Source Text* property only returns the text content; all of the style information like the font size isn't accessible. Is there a reason why you're animating the font size rather than the scale of the layer?  
> **username_0**: Thanks for the explanation. I wanted the change in text size to be immediate, instead of over time via keyframes, although I put the keyframes 1 frame apart and it achieves the same thing.  
> **username_1**: Right click on the keyframe and choose **Toggle Hold Keyframe** that turns it into a hold keyframe that doesn't interpolate: i.e. it stays the same until it hits the next keyframe and then changes instantly. Saves a lot of mucking about with one-frame-apart keyframes.  

---

## 0 answers

