Variable with the name of the current object

A feature I’d like to see in Hopscotch is:

A variable like the new text variable that instead of a text object’s text (or an empty string) is the name if the object it belongs to. It would be the same for the original object and all of its clones

I’d use it for this type of project:

Any project where you have characters and the name of the object is the name of the character.

Here are some examples of Hopscotch code that could be improved if we had this:

Telling (with the new broadcast block) a specific object what to do, you could use the name and the clone index in the message. Determining what character is being used without requiring a unique bariable to be set when you create the character, because that is easy to forget while names of objects are always unique.

12 Likes

very insightful and well written Mr. Ajack2006

i too, would like to see this feature. :slight_smile:

4 Likes

Another thing I wish I had seen last night at 730

1 Like

Very cool! I would love this… but I’m not a subscriber and I assume that you need a subscription to get these blocks…

Anyways, you should get them if you are a subscriber, it makes more sense!

3 Likes

Hey,
I Found today the “New” Broadcast block in the Control Flow Section!
But I cannot work it…

1 Like