-
Random Number Counter with expression slider not pass zero
I have an text layer were the source text is parent to a expression slider. The expression looks like this:
Math.round(effect(“Slider Control”)(“Slider”)). Then I added a wiggle expression to the slider control, but my issues is that the wiggle expression sometimes runs into negative numbers and I want to set the minimum value to Zero.I tried this expression that came close to doing what I wanted it to do but there are times it will jump to a negative number.
Math.min=0;
wiggle(1,50)Last thing how would I create an expression so that it has a max limit number as well. So that it did not pass the number 100. So it would count random numbers from 0 to 99.
Muchos Thank You’s