Hello, I've recently started doing some research on how to use expressions in After Effects (cs6) and im still fairly clueless on how to operate them so I was hoping somebody could help me out. Im using trapcode form for my project and I want to use a slider controller to adjust the values of a particular key frame (2nd keyframe to be specific, this keyframe is important as it adjusts the strength of the particles). Whenever I parent the strength layer to the slider controller it adjusts for all the keyframes, but I want it to only focus on one, thank you.
*If anyone has a link to a tutorial to this situation can you please send it to me, thank you.
Code for trapcode form (NOT LINKED TO ANYTHING)
When it's linked:
I'm not sure which parameter you are using to control the strength, but you could try one of the following:
-Keyframe the slider so it goes from 0 to your desired amount on the correct frame, and then back to 0.
-Add the below expression to the parameter - it makes the slider affect only the second keyframe. You'll need to change "Strength Slider" in the first line to the name of your slider (I'm assuming the slider is on the same layer as your Form effect). The strengthKey value can also be changed to whichever keyframe you want to affect.