SketchAPI icon indicating copy to clipboard operation
SketchAPI copied to clipboard

The JavaScript plugin library embedded in Sketch

Results 105 SketchAPI issues
Sort by recently updated
recently updated
newest added

Does the API provide a way to get the layout settings of the current artboard and also set them?

enhancement
api

I've been browsing the API docs and I can't find any properties that correlate to resizing masks on layers. Does this functionality exist? I'm hoping to developer a plugin that...

enhancement
api

If you unlink a symbol via `opening dialog when double click on a symbol`, action not triggered. If you unlink a symbol via popup list in inspector panel, everything is...

bug
actions

I want to set pinning/fix size programmatically via the api.

enhancement
api

There is some funny behavior going on that is different from the behavior of the inspector. Steps to reproduce: 1. You will want to choose a font that has a...

#### Prerequisite setup - Make sure your default layer style has something with a border (try a red border for greater clarity). To set a default layer style go to...

bug
discussion
api

Doesn’t seem like there is an easy way to change the number of sides of a polygon. Similar with the Star object, there should be a way with the API...

For example, if you set a fill color for a layer like this: ``` layer.style.fills = [{ color: #1ca9c4, fill: Style.FillType.Color }) ``` The layer will update properly but the...

bug
api

I'm trying to get the more information regarding masks, like the dimension and position of the masked layer(only the masked part - no the original layer). But the only thing...

enhancement
api

I really like the new globalAssets method however its lacking images (and I imagine soon noise?)

enhancement
api