-
Concatenate the texts and the styles
Hi, I’m brazilian, so sorry for my bad english.
I trying to concatenate 2 layers of text in After Effects. But I want to concatenate the texts and the styles.
For this moment I did this:txt01 = thisComp.layer("txt 01").text.sourceText; txt02 = thisComp.layer("txt 02").text.sourceText; font01 = txt01.getStyleAt(0,time).font; font02 = txt02.getStyleAt(0,time).font; txtStyle01 = createStyle().setText(txt01).setFont(font01); txtStyle02 = createStyle().setText(txt02).setFont(font02); txtStyle01 + txtStyle02But the layer is returning
[object Object][object Object]
Using the variables separately they return the text formatted with the font correctly