How can I use a Variable as Value inside of a timeline?

Well, could you pls tell me, how the awkward way works?
I tried it with the Finterp to, but i dont know how to break it, i used a while loop, but it said infinte loop.