Is there a way to change the name of a sprite using blocks?

It would be helpful to automatically name your clones 1, 2, etc. so you can call them with ease. Or even change the name of actual sprites for whatever purpose. Is this possible?

Yes, this is 100% possible. Just pull out a SET [] TO [] block and choose my > name,

Even better, you can do exactly what you want by saying

set [my name V] to (index of (my [self V]) in (ask (my [parent V]) for ((my [clones V]) $>) $:>

Thank you both!

Wait, I’m sorry but this didn’t work. Can you show me how it does? I tried putting it in a “tell item 1 of my clones” block but it did nothing, and using it on it’s own just changed the name of the parent.


the naming stuff works for me?

are you sure there were clones? could you send a project link?

yes, that does make sense. Maybe try putting it after a when I start as a clone ?

Item LAST of my clones…

why?

I think loucheman is just pointing out that the last clone created is the last in the list of clones not the first.

OP implied they wanted to work with multiple clones

That’s right

makes sense!