Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions whole number slider

  • Dan Ebberts

    November 13, 2012 at 3:30 am

    Which number are you concerned about, the slider value or the time remapping value? I’m wondering if maybe you expected the time remapping value to be in frames instead of seconds.


  • Ben Wolfinsohn

    November 13, 2012 at 4:24 am

    just wanted the slider value to be, but I guess I can just ignore the the decimal place, and just look at the whole number and it works fine. 2.01 or 2.93 gives me the same results. so i’ll just ignore the other to digits and all is good.

  • Ian Johnston

    March 31, 2023 at 6:18 pm

    Hi Dan,

    I’m in the same boat. I’m animating a character but to keep the slider controls on whole numbers specifically helps when keying frames and overall cleaner. If you scrub a slider after being applied, it adds decimals by default. The slider is parented to a composition that has multiple layers nested within it. Each layer is only visible for 1 frame. As you scrub through the composition a character’s facial expression only appears for just that frame. Now when you time remap that composition, you first delete the last keyframe in the time remap. Then you can pick whip the time remap (via expression) to a slider. Now when you scrub the slider, your comp should display various facial expressions depending on the numeric value of your slider. However, there are no decimals in the comp. There’s no need to show 2.76 in the slider. When it’s rigged, if I hand this file off to another animator, it’s confusing. If the slider only has whole integers then it’s very clear what facial expression is being displayed. However, I don’t know how to show whole numbers in the slider. Does this make more sense? Thank you for your help figuring this out… 🙂

  • Dan Ebberts

    April 1, 2023 at 7:07 pm

    You could add an expression like this to the slider:


    It will still show 2 decimal places, but they’ll always be 0.

    Other than that, you could create your own pseudo effect slider and set precision to 0, which would eliminate the decimal places. A bit of work, but I think it would give you exactly what you want.

  • Ian Brown

    March 16, 2024 at 6:57 pm

    Thanks Dan, I’m late to this, but I too wanted to get rid of the decimals in the actual slider display, (as what I am controlling doesn’t have fractions)

  • Dan Ebberts

    March 16, 2024 at 7:41 pm

    Are you saying you need help with this, or do you have what you need?

  • Ian Brown

    March 16, 2024 at 7:49 pm

    I did need help, but in a sense had given up. I’m seeing conflicting views whether it is at all possible to limit the *sliders* value display to integers only— and having tried the expressions here, I still get at least 1 decimal place, reduced from 2 admittedly. It’s not a dealbreaker or anything but IMO a small oversight on Adobe’s part.

  • Dan Ebberts

    March 16, 2024 at 9:49 pm

    Did you give any thought to creating a pseudo effect slider?

  • Ian Brown

    March 18, 2024 at 11:05 am

    Thanks Dan, I did, have started Googling it to find one. Anyway I think it might be worth having (and storing) for later use.

Page 2 of 2

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