Here is a screenshot of a master component along with its instance. The arrow icon within the master component is an instance in itself but scaled. On the Tile-instance the nested icon instance got resized to its original size. When I tried to scale this nested instance, Figma throws me the error
Uncaught Error: in set_scaleFactor: This property cannot be overridden in an instance
at InstanceNode.set_scaleFactor [as scaleFactor] (figma_app.min.js.br:608:4047)
Is there any ways to rescale the icon based on the master component?
If you can’t do something via GUI, it won’t be possible to do via API either. Figma plugins can’t add new features to Figma, they can only utilize and automate what’s already possible without plugins.
To help you better understand why this isn’t possible: in this specific case, adding something like scaleFactor to instances would require additional code on the Figma side to process and display the effect of this property that doesn’t currently exist. And plugins can’t add this code by themselves (that would require plugins to be integrated more closely with a rendering & file processing engine).
You are welcome to vote for the following suggestions which would help achieve what you want: