Answer the question
In order to leave comments, you need to log in
Scratch. How can I access a specific sprite instance?
I have a sprite. I create clones of him. In fact, a sprite is a kind of class, and clones are instances. However, when creating a clone, I do not have any reference to it, and I could not access it. The life of the instance is now controlled only by the instance itself. So I can't manage a specific instance, get the values of its properties (sprite variables), call its methods ("other blocks")?
The only way to communicate with an instance is to generate some kind of user event, and the sprite (instance) to listen to it. But at the same time, all sprite instances listen to this event together and process, respectively, in the same way. Those. again, I can't refer to a specific instance individually.
What are some life hacks to overcome this shortcoming?
Offtop: Maybe the Scratch tag is needed?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question