Created
September 22, 2021 00:34
-
-
Save hiloki/69621ec84b87e7058b4b76fa3c00c0d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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