Can someone share script that takes text and adds it to an object.
I do have some figures (in randomly named layer) with random number of edges and colours and random texts (in another randomly named layer) placed on them (text can be on multyple rows). I want the figures to be named as the text on them.
The only certen thing is that the text will aways be placed 100% on the figure.

Endgoal:
Select the text from one of the layers, then select a figure from the other layer and run the script, after that figure should get the text name (inside the layer).
If it can be automated more as selecting all texts and figures at once and runing the script this would be amazing (if not it can be done one by one).

