KayelGee / token-attacher

MIT License
11 stars 18 forks source link

API: Copy attached data #105

Closed Aedif closed 8 months ago

Aedif commented 9 months ago

Is there any chance you might expose generatePrototypeAttached in some sort of manner?

I'd like to be able to copy Tokens along with their attached elements to create "presets" for my Mass Edit modue: https://github.com/Aedif/multi-token-edit#presets

However from what I can tell the tokens on the scene only contain references to the attached elements and not the whole data.

If I could access generatePrototypeAttached I believe that would enable me to copy tokens, store them within Mass Edit, and then drop them on the canvas with all of the attached elements, making them essentially prefabs.