How to sync Timeline with animation?

For example, I have TPS character which raises the gun from hip to eyes when RMB clicked. When the animation starts to play, I start a timeline to interp the fov. What I want to implement is that when RMB is clicked, the animation starts to play, the time line starts to interp; once the animation is finished, the timeline also finish interping.

The problem is that the animation can be different for different weapons thus may have different length. How can the timeline know the exact time it has to interp? For now I just put some constant time in the curve, is there anything more to do with the curve?

Hello! You can try to use Lerp and Time remaining (ratio) nodes to sync them using the last as alpha for first one…