Expression Control for Font Size and Repeat

New Here ,
Aug 24, 2022 Aug 24, 2022

Copy link to clipboard

Copied

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!

Screen Shot 2022-08-24 at 1.15.40 PM.png

TOPICS
Expressions

Views

33

Likes

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 ,
Aug 24, 2022 Aug 24, 2022

Copy link to clipboard

Copied

LATEST

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

Likes

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