SketchAPI icon indicating copy to clipboard operation
SketchAPI copied to clipboard

No scale feature in sketch plugin js api

Open gndps opened this issue 4 years ago • 0 comments

Transform > Scale is a feature often used in Sketch by designers as well as required by many plugins. I found out about this api which works with the native development:

// Selected layer
var layer = context.selection[0];

layer.multiplyBy(2);

However, there is no such api in the js. It would be awesome to have it in the js api

gndps avatar Jan 24 '21 18:01 gndps