The Wiggle Expression

/**
* Replace the word "frequency" with the number of 
* times you want something to wiggle per second.
* Replace the word amplitude to change the size of
* the wiggle e.g: how much you want to wiggle by
*/
wiggle(frequency, amplitude);

Example usage:

/**
* If the following is applied to the rotation property
* it would change the rotation value by 100 at a rate of 
* 3 times per second
**/
wiggle(3,100);

More advanced examples:

Wiggle the X dimension only

If you only need to wiggle the X dimension of a property (e.g: the position value) you need a little extra code:

Note: our free Jiggle Script will do this for you at the touch of a button.

w = wiggle(3,100);
[w[0],value[1]];

Wiggle the Y dimension only

If you only need to wiggle the Y dimension of a property (e.g: the position value):

Note: again our free Jiggle Script will do this for you at the touch of a button.

w = wiggle(3,100);
[value[0],w[1]];

Wiggle the Z dimension only

If you only need to wiggle the Z dimension of a property (e.g: the position value):

Note: again our free Jiggle Script will do this for you at the touch of a button.

w = wiggle(3,100);
[value[0],value[1],w[2]];

Link wiggle values to a slider

Note: For the following expression to work you will first need to add two "Slider Control" effects to your layer.

var freq = effect("Slider Control")("Slider");
var amp = effect("Slider Control 2")("Slider");
wiggle(freq,amp);