-
Text Style expressions not working?
Hey guys, so it was my understanding that in newer versions of Ae there’s now a TextStyle class? My Ae is up to date (v18.4.0) but every time I try to use any expressions I’ve found with these styling options I get errors. The following expression placed on the Source Text of a text layer gives me an error saying that ‘style’ in Class ‘TextProperty’ is missing or does not exist.
text.sourceText.style.setFontSize(25).setText("This is text")What I’m ultimately wanting to do is have different font sizes on different strings on the same text layer, just as you could do manually typing the text out, but thru expressions.
What am I doing wrong here?