Discuss Scratch
- Discussion Forums
- » Suggestions
- » Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
- mobluse
-
100+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
I think one should be able to change an existing variable or list from “For this sprite only” to “For all sprites” and vice versa. Now one has to delete and remake the variable or list with the right globality.
- ats-ll
-
75 posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
existing lists or variable or deleting lists or variable? I think one should be able to change an existing variable or list from “For this sprite only” to “For all sprites” and vice versa. Now one has to delete and remake the variable or list with the right globality.
- ProdigyZeta7
-
1000+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
Yes! Support! 

- mobluse
-
100+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
I'm not sure I understand your question, but I think it should work as when you delete a variable and remake it with the right this/all. The value could be preserved anyway – useful if it was difficult to create the value. The idea is to make it faster and safer to edit since you don't have to type in the name again.existing lists or variable or deleting lists or variable? I think one should be able to change an existing variable or list from “For this sprite only” to “For all sprites” and vice versa. Now one has to delete and remake the variable or list with the right globality.
- Nathan98765
-
61 posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
Support for sure!
- DaSpudLord
-
1000+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
Support, but what would happen if the variable is being used in multiple sprites?
- stickfiregames
-
1000+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
Probably all the sprites using it would get a new local variable. Support, but what would happen if the variable is being used in multiple sprites?
Support.
- Deerleg
-
1000+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
Support, especially for lists. It's annoying when you have to recreate a super-long list just for this.
- CatsUnited
-
1000+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
Support.
- Cream_E_Cookie
-
1000+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
Support
- ScratchStangs
-
2 posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
support
- jamezofchez72
-
4 posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
Guys, I know I'm late but I had the same problem. However, if you drag the variable or list (in rounded form) to the sprite you want to give the variable access to you can use it. Helped me out so much.
Last edited by jamezofchez72 (March 10, 2019 17:27:59)
- CodingKidz1544
-
39 posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
What happens if two different sprites have variables for them only with the same name but different values and you make one for all?
- TheBurger82
-
100+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
23984119702384981023479813420172843908971243907812349870123490873142% support.
- LuckyLucky7
-
1000+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
Semi-support, this is a great idea but there is a workaround for this(for when you create the variable, a pop-up shows up with options). Although the workaround is easy to do, this feature would make swapping between global and local variables convenient and less time-consuming.
- fireincarnate
-
100+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
change [support v] by ((support) * ([10^ v] of (309) :: operators)) // 10^ of 309 reports infinity
- PizzaAddict4Life
-
1000+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
Support and I think it could just be a thing on the right click menu saying “Switch to cloud” “Switch to all sprites” and “Switch to local”, and I would assume all sprites that have that variable would just get their own local variable of that. Supa easy!
- Sheep_maker
-
1000+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
In Scratch 2.0, you could delete a variable and recreate it with the proper setting without deleting the blocks that use it.
Scratch 3.0 tried to be smart by deleting corresponding blocks when you delete a variable, but one way around this is to put the scripts in your backpack, delete and recreate the variable, then drag the scripts back out.
Scratch 3.0 tried to be smart by deleting corresponding blocks when you delete a variable, but one way around this is to put the scripts in your backpack, delete and recreate the variable, then drag the scripts back out.
- GuineaGod
-
500+ posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
Good Idea!
- codethelife
-
29 posts
Change a variable or list from "For all sprites" to "For this sprite only" and vice versa
set [cool] to [for all sprites]
set [cool] to [this sprite only]
- Discussion Forums
- » Suggestions
-
» Change a variable or list from "For all sprites" to "For this sprite only" and vice versa