hi everyone, I want to implement the progress bar which expands from right hand to left hand. I am trying to use set width animation to do this, but it only expands from left to right.
this is my codelayer.width = 1layer.animate properties: width: 300 curve: "ease-in-out"Thanks :P
I think the easiest way is to animate X position of the progress bar. So your bar is out of the frame at the beginning, and then it starts animate to x: 0.
you can use layer.originX to set an anchor point for scale. check http://framerjs.com/docs/#layer.originX and this example: http://share.framerjs.com/ufo10ijxbixd/
thx!! I use the originX and it works!!