Skip to main content
Participating Frequently
November 7, 2022
Question

slider counting with different font size

  • November 7, 2022
  • 1 reply
  • 110 views

I use the slider control to count the numbers, and I want the percentage symbol a bit smaller, how can I do this? 
this is the script now:

s=effect("Slider Control")("Slider").value.toFixed(0)

prefix = "%";

s + prefix;

 

I want this:

Now it is like this:

This topic has been closed for replies.

1 reply

Mylenium
Legend
November 7, 2022

Apply a text animator for size and apply this expression to the End parameter of the range selector after you've changed its mode to index:

 

text.sourceText.length-1

 

Mylenium