setFont error when trying to style specific words "setFont needs exactly 1 argument"
I'm trying to accomplish what's explained on the page below: "CHANGE THE FONT FOR CERTAIN WORDS"
https://helpx.adobe.com/after-effects/using/expressions-text-properties.html
On the SourceText attribute, i have:
text.sourceText.style.setFont("Didot-Italic",2)I'm only trying to change the font style for the 2nd word. But I'm getting the following error: "setFont needs exactly 1 argument".
