
This not working has just crippled a couple of large scripts I'm using, and it would nice to be able to use them in the latest version.

Pressing the alt/option key, click the stopwatch beside position. I want to apply a wiggling or shaking effect to both of these layers, so I will repeat these steps for both objects. For this example, I have an image of pancakes and then some stars. This expression can be used to make your scene seem more natural. In your after effects file, select the layer that you want to shake. Flickering Lights Try adding a wiggle expression (Lesson. It wiggles an object across random values. As the light moves closer to the layer, the illuminated area will become smaller and more. I dont want a gradual interpolation but a definite start and stop. I tried using slider, but setting toogle keyframe does work. It prints the correct response to the console:Īs I said, it works fine in the previous version of AE (2014), but not in the current version. The wiggle expression is one of the most common After Effects expressions. Hi, I am trying to get the wiggle expression (position) to start and stop at a specific time. However, if after I have run the above script I then run this: In After Effects 2014, this writes the following to the console:īut in After Effects 2015, the exact same script and circumstances (red solid), gives this response: Var expr = "sampleImage(,, true, (time+0)) " ĪddColorControl.property(1).expressionEnabled = true ĪddColorControl.property(1).expression = expr minor regression: setup check-box caption wiggle-flicker CORE-13278.

Var selectedLayer = m圜omp.selectedLayers Tarek, you can do this in After Effects with a Wiggle Expression on the Position. The script is meant to add a 'Color Control' to the selected layer, sample a particular pixel RGBA value, and use that value.

I'm having a weird problem with a script that adds and utilises an expression containing sampleImage.
