Closed FotisVasilopoulos closed 3 months ago
Hi, we do have a way to set variable scopes as described here: https://www.figma.com/plugin-docs/api/Variable/#scopes. I think this is the equivalent of setVariableScopes(scopes: Array)
from your suggestion. If not, can you elaborate why?
Hi! Resolving due to lack of activity, but feel free to follow up if you have additional questions.
I am suggesting to add on VariablesAPI a scopes: Array argument on createVariable function (with ALL_SCOPES as default) or/and a setVariableScopes(scopes: Array) on Variable, in order to utilize better importing variables from a plugin with predefined scopes