Framer Classic » Pinchable layers » Scaling from the layer’s center

Scaling from the layer’s center

The default of pinchable.centerOrigin is yes, which means the layer will scale and rotate from the point between your fingers (the ‘center origin’ of the gesture), as you can see here:

By default, the layer resizes and rotates from the point between the fingers

When you switch off centerOrigin, the layer will scale from its own transform origin. (Which by default is its center, but you can change this.)

# Disabling the center origin
layerA.pinchable.centerOrigin = no
Open in Framer
A layer that scales and rotates from its own center
With ‘center origin’ disabled the layer will resize and rotate from its own transform origin

Leave a Reply