sprite name
Sprite name
The sprite name block is a reporter block in the Sensing extension that reports the name of the sprite that you are currently in.
It can be useful for inputs, like this:
touching (sprite name::sensing)? //useful for clone touching detection
Or by using it as an input, in case the name of the sprite ever changes:
say (join [Hello, my name is] (sprite name::sensing) [.]::operators) for (3) seconds
Workaround
It can be worked around by just simply using the name of the sprite. A variable can be used in case the name changes, like this:
set [sprite name v] to [current name of sprite]