Discuss Scratch

SparkLab_SI
New to Scratch
3 posts

Variable that does not exist

There is a variable, which does not exist in my defined variables list, showing up on my stage. Being that it is not in the defined variables list I cannot remove it from the stage. Has anyone else encountered this bug?
D-ScratchNinja
Scratcher
1000+ posts

Variable that does not exist

Yes, I have had the same issue before at least once where the variable appeared on the project player but was not listed as a reporter in the blocks palette. Try switching sprites, refreshing the page, or experimenting with the options of the variable on the project player.

Last edited by D-ScratchNinja (July 16, 2020 21:57:53)


D-ScratchNinja • he/him
- The following is my signature, which always shows up below my posts. -


New! Filter through my projects with my website.

Need to fix an issue? Check out this studio for solutions to some common problems!

OS: Windows 11 / Browser: Microsoft Edge / Time zone: PST/PDT
BrycedTea
Scratcher
100+ posts

Variable that does not exist

Can you share the project that you're seeing this in and say which variable it is?
SparkLab_SI
New to Scratch
3 posts

Variable that does not exist

Bryced,

Here is the link to the project. https://scratch.mit.edu/projects/405680822/
The variable is “hexagon : shape qty. circle”
The value for this variable is on the backdrop screen but the variable is not in my variable list.

Thank you for any help you can provide. This has been a big project and I am hoping to get it up for public use by the first part of August.

SparkLab_SI
apple502j
Scratcher
1000+ posts

Variable that does not exist

This is not a bug. You created a “sprite-only” variable instead of “for all sprites” variable. Such variables only show on the sprite's toolbox (this time, “hexagon ”)

署名は、ディスカッションフォーラムの機能である。署名は、その人のすべての投稿の下部に追加される。署名は、BBCodeで記述できる。 署名を追加/変更/削除したい場合は、ディスカッションフォーラムのホームの一番下に行き、「Change your signature」を押す。署名の大きさは150pxまでである。これには、改行、画像を含む。- Japanese Scratch-Wiki 「署名
BrycedTea
Scratcher
100+ posts

Variable that does not exist

Yep. The “hexagon :” part of that variable name means it's for this sprite only for the sprite called “hexagon”. It will only be visible in your list of variables when you select the hexagon sprite.
SparkLab_SI
New to Scratch
3 posts

Variable that does not exist

BrycedTea,

Thank you so much. I must have accidentally clicked on the sprite specific variable. That was an easier fix than I expected. You have saved by project.

SparkLab_SI

Powered by DjangoBB