Discuss Scratch

mobluse
Scratcher
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
Scratcher
75 posts

Change a variable or list from "For all sprites" to "For this sprite only" and vice versa

mobluse wrote:

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.
existing lists or variable or deleting lists or variable?


i am got in! Maki-Tak!
ProdigyZeta7
Scratcher
1000+ posts

Change a variable or list from "For all sprites" to "For this sprite only" and vice versa

Yes! Support!



mobluse
Scratcher
100+ posts

Change a variable or list from "For all sprites" to "For this sprite only" and vice versa

ats-ll wrote:

mobluse wrote:

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.
existing lists or variable or deleting lists or variable?
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.

Nathan98765
Scratcher
60 posts

Change a variable or list from "For all sprites" to "For this sprite only" and vice versa

Support for sure!
DaSpudLord
Scratcher
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?


U^ェ^U::motion//This is Blocky. He lives in my signature. He is a trained attack block. He protects my siggy from kumquats.
stickfiregames
Scratcher
1000+ posts

Change a variable or list from "For all sprites" to "For this sprite only" and vice versa

DaSpudLord wrote:

Support, but what would happen if the variable is being used in multiple sprites?
Probably all the sprites using it would get a new local variable.

Support.










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
Deerleg
Scratcher
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
Scratcher
1000+ posts

Change a variable or list from "For all sprites" to "For this sprite only" and vice versa

Support.

Season 4 has officially released I'll go make a better signature soon
Cream_E_Cookie
Scratcher
1000+ posts

Change a variable or list from "For all sprites" to "For this sprite only" and vice versa

Support

















ScratchStangs
Scratcher
2 posts

Change a variable or list from "For all sprites" to "For this sprite only" and vice versa

support
jamezofchez72
New to Scratch
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
Scratcher
15 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?

CodingKidz1544
:)::operators
this is blocky. he lives here. he is a fight block.
when he is mad, he looks like
>:{
}
but if he's really mad he looks like
>:{
}{
}
TheBurger82
Scratcher
100+ posts

Change a variable or list from "For all sprites" to "For this sprite only" and vice versa

23984119702384981023479813420172843908971243907812349870123490873142% support.

<(>:D) :: #804000> // This is my evil kumquat. He protects my siggy from everybody who tries to protect theirs.

when green flag clicked
wait until <(>:D) :: #804000> // He can fit inside of a lot of control blocks
exterminate kumquats :: custom
[/scratchblocks]
LuckyLucky7
Scratcher
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.

I have about 2750 posts, 65 shared projects, 150 total created/followed topics, and 120 followers.

Powered by DjangoBB

Standard | Mobile