Skip to main content

Without the user interaction, is there a way to create a widget instance?

Find the widget in the document and clone it.

figma.com

Sorry, I meant how to create the first instance i.e. if the document doesnโ€™t have a widget yet.

For example, if the selection has changed, I want to insert an instance. How do I achieve that?


The plugin cannot create WidgetNodes. The only possible way is to clone already existing nodes in the file.


Reply