Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Limiting Slider Values from 1-100 to 1-10

  • Limiting Slider Values from 1-100 to 1-10

    Posted by Arvin Bautista on March 18, 2010 at 1:04 am

    The slider expression control goes from 0-100, I’d like it only go from 1-10. I can go without it but since I only need to slide between 9 values I don’t need such a large scale.

    I feel like I’ve seen this before, can anyone help?

    Ben Rollason replied 16 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Arvin Bautista

    March 18, 2010 at 1:06 am

    Oop, figured it out. You can right click on the slider control and click “Edit Value.”

    Now to figure out how to only handle integers…

  • Ben Rollason

    March 18, 2010 at 10:04 pm

    [Arvin Bautista] “Now to figure out how to only handle integers…”

    Math.round(value); 🙂

    -Ben.

    http://www.benrollason.com

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