Hi everyone,
How do I get a complete list of Variable collections and Alises used in the variables?
So far I have managed to get the collection names, but unable to figure out what to do next?
This is my code so far:
I get the collections like this:
await figma.variables.getLocalVariableCollectionsAsync();
After that I iterate through the list:
for(let C=0; C<V.length; C++){
//console.log(V[C].variableIds);
for(let i=0; i<V[C].variableIds.length; i++){
console.log(V[C].variableIds[i].valueOf());
}
This is that the structure of my collections looks like (just a sample text variables)