Manipulating Subsymbol Font


#1

I have set up a cube as a subsymbol with Font scaled and sized and relative to the cube within the subsymbol, so I don’t need to individually set the font size for each instance of the cube subsymbol in the parent hierarchy. I would like to be able to manipulate the font in the parent hierarchy (using the instance from the subsymbol). I found this in your tutorials:

Accessing exported functions and variables

Functions and variables can be declared in one script and retrieved in another using the export keyword. The example below uses two script nodes, script1 and script2 , within the same symbol.

// script1
export let myVariable;
// script2
symbol.nodes.script1.myVariable;

I am able to write the script to export the variable but I am unsure of how to manipulate the font to change it to read different letters from a 2nd script in the parent hierarchy.