
The adfvantage of using a point control is that you can control both parameters with a single control, right from the comp window. If you want a set of controls for the rest position, the amount and the frequency of the wiggle I'd set up the 'diamond_control' layer with two point expression control effects on it and one slider control.

In the expression above this would then be added to the value given by the horizontal and vertical slider, which would be an offset, so that if x and y are equal to 0 the layer would wiggle around its base position. Your expression would increase both frequency and amplitude together, that might be what you want. The first two values you give to wiggle are the amount of wiggliness and the frequency of the wiggle. I'm not sure why you use the wiggle_x_pos and wiggle_y_pos slider for both the amplitude and frequency parameter of the wiggle. Wiggle_y = ctrleffect("wiggle_y_pos")("Slider") Wiggle_x = ctrl.effect("wiggle_x_pos")("Slider")

ctrl = thisComp.layer("diamond_control") //just for neatness Also, there is no point multiplying it by 1, that does nothing. There is no need to add value to the wiggle result, because it is already added. So to use the result of the wiggle expression in combination with other values you have to get the result of the wiggle expression, and use that in your final result. This returns a 'wiggly' value based on the value of the property, it doesn't actually change the value of the property itself.

It is actually a method of the property, so when you call wiggle() in say, the position property, what you're actually calling is ().

Wiggle is a little bit confusing, in that it is not a function like Math.sin or random, that takes the value to be wiggled as a parameter. In your expression the two last lines both return a result, so the last one is what the value will be. Expressions can only ever return one result.
