Page 1 of 1

How to use MarkerKey to control the start time and end time

Posted: July 25th, 2018, 12:46 pm
by youkaze
This is the example here:
Image
I want to know how to make the same effect like this example, dragging the IN tag on the diagram to change the duration of the effect, there is a keyframe and eval expression on time remap, but I can't understand the expressions in the example cause they are messy code.

Re: How to use MarkerKey to control the start time and end time

Posted: July 26th, 2018, 11:50 am
by zlovatt

Re: How to use MarkerKey to control the start time and end time

Posted: July 28th, 2018, 9:40 am
by youkaze
zlovatt wrote:
July 26th, 2018, 11:50 am
Check this out: http://www.motionscript.com/design-guid ... -sync.html
thank you, I have already solved this problem with this solution. :D

time =thisComp.duration

linear(time, inPoint, marker.key(1).time, 0, 1) - linear(time, marker.key(2).time, outPoint, 0, 1)