Skip to main content
Participant
July 12, 2015
Question

link a keyframe to a slider control

  • July 12, 2015
  • 2 replies
  • 1731 views

Hey all,

Got 2 keyframes on the Trim Paths 1 (End) of a Shape layer 1

The first keyframe has a value of 0

Now I want to be able to control the second keyframe with a slider control on Null. So when the slider value is 50, the keyframe value is 50.

Thanks in advance.

This topic has been closed for replies.

2 replies

Minnapicture
Participant
November 27, 2018

What about this?

value*thisComp.layer("Null 1").effect("Slider Control")("Slider")

Participant
July 13, 2015

Okay problem solved.

min = 0; max = thisComp.layer("Null 1").effect("Slider Control")("Slider"); if(numKeys > 1){ ease(time,key(1).time,key(2).time,min,max); }else{ max; }