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")
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?
Copy link to clipboard
Copied
Have you tried: parseFloat(thisComp.layer("your layer name").effect("Slider Control")).toFixed(1)
Copy link to clipboard
Copied
Thanks angie, but that's not working for me
Copy link to clipboard
Copied
OK, leave it with me
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?
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'
Copy link to clipboard
Copied
It's ok I have it sorted now, thanks!
Copy link to clipboard
Copied
If you change the Layer name it should work 🙂