

Now it’s time to set a couple of keyframes in order to have the effect we are looking for. If you play the animation nothing happens because both sliders have zero value at this time. Cool 🙂 Set the animation of our compass:

Wiggle(thisComp.layer(“indicator_ctrl”).effect(“frequency ctrl”)(“Slider”),thisComp.layer(“indicator_ctrl”).effect(“magnitude ctrl”)(“Slider”)) The whole wiggle expression should look like this: Go between the last two parentheses and put a “,” and repeat again the same process with the pick whip tool, but this time connect it to the other slider (magnitude). Wiggle(thisComp.layer(“indicator_ctrl”).effect(“frequency ctrl”)(“Slider”)) The expression has been updated to something like this: Grab the expression pick whip tool, which almost looks under the rotation attribute, and drag it to the first slider(frequency). Without selecting anything just go to the wiggle expression and click in the middle of the parenthesis. Now select the indicator ctrl layer and expand both slider controls so we can connect them with the wiggle expression. Now instead to give it some value, like (2,40) you did in the simple approach, we are going to connect the sliders we already created for the indicator ctrl to drive the value for us dynamically.

Press alt-click on the stop-watch for the rotation parament. Expand the transform once again and you will see all the paraments of this layer. So, select the indicator layer and expand it. Now it’s time to connect the sliders of the indicator ctrl intro the indicator layer rotation parament and create the wiggle expression. Null object – effect controls Connect the sliders to the indicator layer:
