Alright, I'm creating a lot of objects from within Python, and I was wondering if there was a more reliable way to keep track of all of them than just keeping a running track of the index of the last one. (Sprite) or whatever, as I create them.
I noticed there was an object type in the script editor, and I tried messing with it to store an actual reference to each object in a list, but no dice.
I tried something like this:
Bob = object()
Bob = Create("Sprite", 1, System.MouseX, System.MouseY)
Bob.Angle = 5
I need to store a bunch of these in a list/array...so some actual concrete references would be nice..."create" creates one, but does not hold it as the event sheet does, so references would rock. I'm trying to write a custom data structure to hold a bunch of line objects and describe them in a relationship.