• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Text Style Property

Community Beginner ,
May 14, 2022 May 14, 2022

Copy link to clipboard

Copied

Hi,

I'm trying to write different parameters into my Source Text like this:

thisComp.layer("a").text.sourceText.getStyleAt(0,0)
+
thisComp.layer("b").text.sourceText.getStyleAt(0,0);

But It shows [object][object] instead of showing text of two layers A and B.

 

What should I do?

TOPICS
Error or problem , Expressions , FAQ

Views

343

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 15, 2022 May 15, 2022

Using the Animate menu (visible when you expand a text layer), it's possible to add a Fill Color.  From there, if you expand the options and the advanced options, not only can you set different words to be different colours, but you can add multiple animators and keyframe the change.

colours.jpg

Votes

Translate

Translate
LEGEND ,
May 14, 2022 May 14, 2022

Copy link to clipboard

Copied

You cannot combine different text styles within the same layer and that is that.

 

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 14, 2022 May 14, 2022

Copy link to clipboard

Copied

Can I set different colors for text within the same layer? Means color 1 for text 1 and color 2 for text 2?

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 15, 2022 May 15, 2022

Copy link to clipboard

Copied

LATEST

Using the Animate menu (visible when you expand a text layer), it's possible to add a Fill Color.  From there, if you expand the options and the advanced options, not only can you set different words to be different colours, but you can add multiple animators and keyframe the change.

colours.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 15, 2022 May 15, 2022

Copy link to clipboard

Copied

That's what text animators are for. I suggest you read the online help on the subject.

 

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines