Discuss Scratch

Scratchperson1000000
Scratcher
500+ posts

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

TheBurger82 wrote:

23984119702384981023479813420172843908971243907812349870123490873142% support.
please explain why you support
lol king of the page

Last edited by Scratchperson1000000 (March 25, 2021 20:03:24)

sathvikrias
Scratcher
500+ posts

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

reallysoftuser wrote:

no support, just recreate the variable
that will delete all instances of the var. bad reason
Classfied3D
Scratcher
29 posts

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

support.
However, it is possible to change ‘for all sprites’ to ‘this sprite only’ by backpacking a sprite and putting it back in a project using another sprite with a ‘this sprite only’ variable named exactly the same.
scienceexplorer1
Scratcher
100+ posts

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

reallysoftuser wrote:

no support, just recreate the variable
IT makes a huge pain to delete, and plus it takes a LOT of time if you already started using variables.
medians
Scratcher
1000+ posts

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

Bringing this up.

reallysoftuser wrote:

no support, just recreate the variable
That now deletes all variable instances in 3.0, so you have to find every place with the variable.

lightningmc09 wrote:

I absoulutley agree!

change [foo v] to [for this sprite only v]::variables
Explain why.
Also, I think it would function better as an editor feature because I can’t come up with many if any uses where you would need to swap between the 2 when running the project.
medians
Scratcher
1000+ posts

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

Bringing this topic up.
medians
Scratcher
1000+ posts

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

Bringing this topic up. Also, this idea was on the forbidden word GitHub, but I think they should also make something for creating/editing multiple variables then. You could actually kinda do the creating thing in 2.0 too, and it was easy to change vars/lists's scope because the mentions weren't deleted when you deleted them.

Last edited by medians (Oct. 19, 2023 03:35:35)

CYTOTOXIC_1
Scratcher
100+ posts

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

Support!

(this feature exists in an extension called -redacted-)
thedogcoder440
Scratcher
100+ posts

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

Support! this would be good for editing variables instead of just making new ones

Last edited by thedogcoder440 (Oct. 19, 2023 21:13:45)

PaperMarioFan2022
Scratcher
1000+ posts

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

thedogcoder440 wrote:

Support
Please explain why you support the topic. It's not scratchr2 anymore sadly.
-
Great for variables and lists to code with, then making it easier to use and start scripts for all sprites at the same time in sync.
thedogcoder440
Scratcher
100+ posts

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

PaperMarioFan2022 wrote:

thedogcoder440 wrote:

Support
Please explain why you support the topic. It's not scratchr2 anymore sadly.
-
Great for variables and lists to code with, then making it easier to use and start scripts for all sprites at the same time in sync.

i edited the post to have reason.
medians
Scratcher
1000+ posts

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

Bringing this topic up. You used to be able to delete the var/list and simply recreate it, but that used to not delete the uses, and someone may realize the variable/list was better as the other type after using it in the code.

PaperMarioFan2022 wrote:

thedogcoder440 wrote:

Support
Please explain why you support the topic. It's not scratchr2 anymore sadly.
Explain why the forums has no Cookies page linked
FirstPrism12
Scratcher
100+ posts

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

Support, this would be convenient for inaccurate clickers people who forget to switch the variable to local when establishing an if clone trigger.
medians
Scratcher
1000+ posts

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

Bringing this topic up.
MagentaDude1359
Scratcher
100+ posts

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

support! this is in an extension i use and it's super useful, why shouldn't it be in scratch?

codethelife wrote:

set [cool] to [for all sprites]
set [cool] to [this sprite only]
not this.
the extension has options for all sprites or one sprite when you rename the variable.

Last edited by MagentaDude1359 (March 2, 2024 14:40:18)

medians
Scratcher
1000+ posts

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

medians wrote:

Bringing this topic up.
c0der0928
Scratcher
100+ posts

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

when they said now one, they meant no one
jmb1293634
Scratcher
100+ posts

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

support I am always really annoyed when I forget to change it to local because then I have to go back and remake the variable

Powered by DjangoBB