symdesign
1/20/2017 - 11:29 AM

Scrollbar

// Apply this expression to the scrollbar layer's y position

c = thisComp.layer("Layername");
- ( ( c.transform.yPosition - c.height/2  ) - thisComp.height / 2 ) * ( thisComp.height / c.height )