-
Trigger a animation using a checkbox
Hello everyone,
I’m trying to trigger a animation using a on/off switch.
The animation is a ball scaling up and down in 50 frames. (0 = 100% – 25 = 308% – 50 = 100%)
The ball animation is nested and I would like to trigger the animation from the main comp.
The on/off switch (null) is inside of the main comp and the value changes based on keyframes.My approach to this was to enable ‘time remmaping’ for the ball comp inside of the main root. Then i pick-whipped to the on/off checkbox.
Now I’m not sure how to tell after effects to play the ball animation from frame 0 to 50 (doesn’t have to play all 50 frames) whenever the checkbox is ticked.
I have uploaded a simplified version of the Ball project for you to work with. Any help would be greatly appreciated.
Project file: https://www.mediafire.com/?v0s1qn6wzg91yag
Thank you!
b = thisComp.layer("On/Off Switch").effect("Checkbox Control")("Checkbox");
