Copy link to clipboard
Copied
Hi,
How can I prevent the numbers effect from rounding numbers like 0.6 to 1? I need it to show value of 1 only when it reaches 1.0 and not before. Currently as soon as the number reaches 0.6 it changes to 1, and since I'm making a sort of slideshow of photos, where I need to show each image in order with the image number above it, it is completely in a desync - since it changes to the next number before the next image shows.
Thanks!
Add Math.floor() to your Numbers value expression.
This example takes the value of an expression slider on Null 1, then uses Math.floor to round that value down.
rawnumber = thisComp.layer("Null 1").effect("Slider Control")("Slider")
Math.floor(rawnumber)
Copy link to clipboard
Copied
Add Math.floor() to your Numbers value expression.
This example takes the value of an expression slider on Null 1, then uses Math.floor to round that value down.
rawnumber = thisComp.layer("Null 1").effect("Slider Control")("Slider")
Math.floor(rawnumber)
Copy link to clipboard
Copied
Bless you sir, that has indeed solved it.
Copy link to clipboard
Copied
That behavior is simply built-in. Split the layer and have the lead-in instance's Numbers effect use different settings for decimals.
Mylenium
Find more inspiration, events, and resources on the new Adobe Community
Explore Now