After Effect Expression percent of a position.
Hello,
I make a layer and it wiggles on the y axis. Next to the layer is a text and i want to show the percent of the position of the y axis from the layer.
So if the position is 21,0 show 0 %
Is the position 597,0 show 100%
And I need the percent between the 0% and 100%
I make this:
Math.round(length(thisComp.layer("Position2").transform.position, thisComp.layer("Position1").transform.position))
But it shows the value of the position.
Anyone a idea to create the expression or a have a link to the answer i be thankful, I google for 1 hour and i found nothing.
