Hi I couldn't find a way to transform scale a layer on the docs. I want to do the same function you get when you do cmd+K and enter 200% in the scale input. Thanks for your help!
// Selected layer
var layer = context.selection;
pizza0502 Yep it works with context selection. But not using a selection layer using JS api. Thankyou!