Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Multiple slider controls on a single text layer

  • Multiple slider controls on a single text layer

  • John Burgess

    April 5, 2021 at 12:47 pm

    Hi, I am trying to add two slider controls to a single text layer to have independent control over two values. e.g

    100,200

    (100 slider 1)
    (200 slider 2)

    I need a comma separating the two values with 0 decimal places

    Many thanks

  • Dan Ebberts

    April 5, 2021 at 4:25 pm

    Like this?

    s1 = effect("Slider Control")("Slider").value;

    s2 = effect("Slider Control 2")("Slider").value;

    s1.toFixed(0) + "," + s2.toFixed(0)

  • John Burgess

    April 7, 2021 at 4:03 pm

    Worked perfectly, thanks so much Dan

Viewing 1 - 3 of 3 posts

Log in to reply.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy