Limit value scale value using expression.
I'm using wiggle to scale a layer and I really only want it to wiggle the scale in the positive direction (>100)
I looked into using an "if/else" statement, but AE always error-ed out.
This is what I'm using to wiggle the scale.
x=wiggle(effect("XTIME")("Slider"),effect("XDistance")("Slider"));
y=wiggle(effect("XTIME")("Slider"),effect("XDistance")("Slider"));
[x[0],y[0]]
I tried inserting this line of code, but it always error-ed
if (transform.scale[0] < 100) 100.2 else transform.scale[0]
Is it a syntax issue or am I just way off track. ANd I'm sure it's probably a really easy answer......
thanx in advance for your help
best,
Fred
