-
Repeat sourcetext from another layer
Hello! I’ve been trying to use this expression to repeat source text from another layer:
My goal: to use the sourcetext from a main Build Comp and repeat it in X & Y using the following formula:
the original:
X = effect(“X”)(“Slider”);
Y = effect(“Y”)(“Slider”);
(repeat(X) + “\n”).repeat(Y)and here’s my attempt:
my abomination:
X = effect(“X”)(“Slider”);
Y = effect(“Y”)(“Slider”);comp(“Build Comp”).layer(“ARTIST”).text.sourceText.repeat(X) + (“\n”).repeat(Y);
I’d also like to add a space between the repeated words, if possible.
Can anyone see where i’m going wrong? With my above abomination code, it will repeat in X but not Y.