Yeah, there was already a topic about this, although I don’t remember if it was resolved. I’m struggling to find the link but I swear it’s here somewhere, I think @d016 might have been in the topic?
it can also happen on accident.
A slight work around would be to type in a random sequence of characters and hope no one uses the variable name.
Each character needs to be entered in with some sort of alt code equivalent for the operating system or a copy paste trick.
…Because you made an unsolicited PR with no context or clear explanation of testing.
I can’t reproduce this. Presumably this was a one-off glitch in your iPad. But it does suggest that this can happen accidentally. And if you’re not careful playing around with it, you can break things so much that you have to enter dev mode and manually delete the offending morphs to continue coding. From what I can tell, however, this has been at least partly fixed, as it only occurs if the name of the upvar is the same as the name of the block you are defining.
PS: You can make the “this script” be in the control category with :: in SnapBlocks (and the menu read-only via capital “V”). define ((this [script V] :: control)) [block] (this [script V]) define ((this [script V] :: control)) [block] (this [script V])