Skip to content

Instantly share code, notes, and snippets.

@felideon
Last active July 17, 2018 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felideon/3a887fe99c09100dcc610bfa655ce342 to your computer and use it in GitHub Desktop.
Save felideon/3a887fe99c09100dcc610bfa655ce342 to your computer and use it in GitHub Desktop.
Sketch — Add arrowhead to selected layers
var sketch = require('sketch/dom');
var document = sketch.getSelectedDocument();
var selection = document.selectedLayers;
selection.forEach(layer => {
layer.style.borderOptions.endArrowhead = 'OpenArrow'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment