• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Counter Expression

Explorer ,
Sep 27, 2017 Sep 27, 2017

Copy link to clipboard

Copied

What do I add to the following expression in order to make the source text count up in decimals, as follows.... 0.0, 0.5, 1.0, 1.5, 2.0 etc. etc.

effect("Slider Control")("Slider")

Views

755

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

correct answers 1 Correct answer

Guide , Sep 27, 2017 Sep 27, 2017

Here you go, courtesy of Colin Bailley;

Tutorial -- Overcoming limitations of the Numbers effect in After effects

Of course, if the Numbers effect does it for you then it may be enough?

Votes

Translate

Translate
Guide ,
Sep 27, 2017 Sep 27, 2017

Copy link to clipboard

Copied

Have you tried:  parseFloat(thisComp.layer("your layer name").effect("Slider Control")).toFixed(1)

Votes

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
Explorer ,
Sep 27, 2017 Sep 27, 2017

Copy link to clipboard

Copied

Thanks angie, but that's not working for me

Votes

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
Guide ,
Sep 27, 2017 Sep 27, 2017

Copy link to clipboard

Copied

OK, leave it with me

Votes

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
Guide ,
Sep 27, 2017 Sep 27, 2017

Copy link to clipboard

Copied

Here you go, courtesy of Colin Bailley;

Tutorial -- Overcoming limitations of the Numbers effect in After effects

Of course, if the Numbers effect does it for you then it may be enough?

Votes

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
Explorer ,
Sep 27, 2017 Sep 27, 2017

Copy link to clipboard

Copied

I followed that to the letter but I'm getting the error 'Couldn't find the layer name Controls. Expression disabled'

Votes

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
Explorer ,
Sep 27, 2017 Sep 27, 2017

Copy link to clipboard

Copied

It's ok I have it sorted now, thanks!

Votes

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
Guide ,
Sep 27, 2017 Sep 27, 2017

Copy link to clipboard

Copied

LATEST

If you change the Layer name it should work 🙂

Votes

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