Skip to main content
Question

Can you get the event of a variant change on an instance?

  • January 18, 2023
  • 0 replies
  • 215 views

aleksanderd

Hi. We’re doing a plugin that updates layer styles when creating instances in a file. However sometimes the different variants have layer structure, meaning that when swapping from for example buttonIcon=false to buttonIcon=true, the newly added icon will not have the style changes made on the parent instance.

Is there a way to check the document changes for updates to the variants?

This topic has been closed for replies.