Skip to content

Instantly share code, notes, and snippets.

@hiloki
Created September 22, 2021 00:34
Show Gist options
  • Save hiloki/69621ec84b87e7058b4b76fa3c00c0d0 to your computer and use it in GitHub Desktop.
Save hiloki/69621ec84b87e7058b4b76fa3c00c0d0 to your computer and use it in GitHub Desktop.
function hasRoundedCorners(r) {
const result = figma.currentPage.findAll(n => n.cornerRadius === r)
figma.currentPage.selection = result
}
// 引数に任意のnumber
hasRoundedCorners(8);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment