Hi Andrei, thank you for reply
It worked really nice, i had to make a minor adjustment but the approach was pretty effective.
If you don’t mind i would like to understand why this %32000 works, i’m not a very Code man, but i like to understand this simple concepts that probably would help me in the future.
///////The code you gave to me
x = value[0];
L = thisLayer;
y = L.sourceRectAtTime(time-L.inPoint).height%32000;
// Previously I multiplied the offset by 5 at the end
[x,-y*5];
///////The code updated
x = value[0];
L = thisLayer;
// I had to multiply by 5 before add %32000, other wise the offset get a little crazy
y = (L.sourceRectAtTime(time-L.inPoint).height*5) %32000;
[x,-y];