animating an arrays length by bezier curve

hi
i’m tryng to animate the length of an array which i have let to fit a curves length
but i can’t animated the verctices of the bezier curve
how do i fix this

Have you tried assigning a hook to one of the verticies of the curve?

that did it ,
thanks.