Local Vars for Clones

Hey, so I’m wanting to use local vars for some clones I have, to determine which line I need to use in my database. Basically, every time I create a sprite on my canvas, I want each one to have its own ID associated with a row in my database. But here’s the catch: there might be a lot of clones, and I obviously can’t just make a ton of app variables and hope for the best. Anyone have a solution?

You could use Dynamic Variables

The problem is that each clone needs its own value that doesn’t change.

I’d record each Sprite’s ID when you create it, in a local DB.