code: function (layer, fx) {
  		// If layer is a rectangle or ellipse layer
  		if (isRectLayer(layer)) {
  			// If width or height are animated
  			if (fx.prop === 'width' || fx.prop === 'height' || fx.prop === 'x' || fx.prop === 'y') {
  				// Update rectangular handles
  				updateRectHandles(layer);
  			}
  		} else if (isPathLayer(layer)) {
  			// If coordinates are animated
  			if (fx.prop.match(/^c?(x|y)(\d+)/gi) !== null) {
  				// Update path handles
  				updatePathHandles(layer);
  			}
  		}
  	}
docs: Update handle positions when animating parent layer