-
33% chance of wiggle
My goal is to have a wiggle, but inconsistently, so it has more of a stop motion feeling.
I tried this on a position value, hoping to get a 33% chance of wiggle: (see code example)
But the error I get says :
Error at line 0 in property ‘Position’ of layer 9 (‘backEar’) in comp ‘bunny’. Object of type lLayer found where a Number, Array or Property is needed. An expression was disabled as a result of an error.Ideas?
Thanks!if (random(0,1)>.66){
wiggle(1,10)}