Hey, I’m building on a Figma plugin. I’m trying to change the Figma file name if the user types the name & submitted from the plugin. I’m currently using this function. figma.root.name. but it’s still not changing the file name. It still keeps as untitled. Please help me if we even have that capability.
Page 1 / 1
got it, thanks. Also is it possible to set the thumbnail automatically from the instance or component key?
Also is it possible to set the thumbnail automatically from the instance or component key?
If I understand your question correctly, you can set a component node, but not an instance, as a thumbnail using the corresponding API method (setFileThumbnailNodeAsync
). As for a remote component, you will need to import it by key first.
Thanks, will give it a try on this!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.