Skip to main content
Participant
August 24, 2022
Question

Expression Control for Font Size and Repeat

  • August 24, 2022
  • 1 reply
  • 165 views

Hello,

 

I have attached a picture of the layout I'm working with. What I have currently is the following expression on the word QUICK to control font size:

text.sourceText.style.setFontSize(effect("Size")("Slider"))

 

For the other QUICK(STROKE) I have the following expression to repeat in the Y-POS:

var y = thisComp.layer ("QUICK 2").effect("Copies")("Slider");

(repeat(1) + "\n").repeat(y)

 

What I"m trying to do is connect QUICK font size and source text to QUICK(STROKE) so that I can change the word and size to anything and the repeating version will match. I am having trouble understanding how to do so. Please let me know if there are any other variables needed. Thanks!

This topic has been closed for replies.

1 reply

Mylenium
Legend
August 25, 2022

Sorry, but that's useless. You're not even telling us where those expressions are used and they appear to be incomplete. show us a screenshot of the full comp and timeline with the expressions revealed.

 

Mylenium