Discuss Scratch
- Discussion Forums
- » Suggestions
- » Move variables and lists
- Codingfairy07
- Scratcher
500+ posts
Move variables and lists
Yes support this will be so helpful!
(φ゜▽゜*♪) :: sensing // This is Laura, my kumquat guard who never sleeps. Sleeping is for amateur Kumquat guards.Announcement
;
- SubToAndyChanCubing
- Scratcher
14 posts
Move variables and lists
You can't move variables, but you can create another variable that matches the other one.
Then you can move the other variable to where you want it at.
when green flag clicked
set [ varible 1] to [varible 2]
Then you can move the other variable to where you want it at.
Last edited by SubToAndyChanCubing (July 8, 2021 21:20:37)
- Scratcher1234670
- Scratcher
16 posts
Move variables and lists
move variable to x: (0) y: (0)::variables
- pizzataco213
- Scratcher
43 posts
Move variables and lists
I know how to (Kinda) move variable!
when green flag clicked
go to [ v]
say (☁ score)
Hello! I am pizzataco213 please check out some of my projects although most are not complete.
https://scratch.mit.edu/projects/852053905/
i like monstercat and JSAB
when green flag clicked
set [IsPopular?] to [false]
Working on:
FVL: Finale
Overdodge (collab with chipstudios)
- BanMeOS
- Scratcher
500+ posts
Move variables and lists
though, that doesn't move the actual variable or list itself I know how to (Kinda) move variable!when green flag clicked
go to [ v]
say (☁ score)
([foo v] ::variables)
([list v] ::list)
set [ v].y to [] ::variables
([foo v] [ v] pos :: variables)
<[] is exactly [] :: operators>
<mouse moving? ::sensing>
point towards x: () y: () ::motion
glide () secs to [sprite v] ::motion
we reach 410 + 10 posts :: sound
lol ::operators
- BanMeOS
- Scratcher
500+ posts
Move variables and lists
mockups for the movement:
Variables
Variables
move [foo v] to x: () y: () ::variablesLists
change [foo v] x by (0) ::variables
change [foo v] y by (0) ::variables
change [foo v] [x v] by () ::variables
change [foo v] [y v] by () ::variables
set [foo v] x to () ::variables
set [foo v] y to () ::variables
move [foo v] to [random position v] ::variables
move [foo v] to [mouse pointer v] :: variables
move [foo v] to [center v] ::variables
move [foo v] () steps ::variables
glide [foo v] () secs to [random position v] ::variables
glide [foo v] () secs to [mouse pointer v] ::variables
glide [foo v] () secs to [center v] ::variables
glide [foo v] () secs to x: () y: () ::variables
point [foo v] in direction () ::variables
point [foo v] towards x: () y: () ::variables
point [foo v] towards [random position v] ::variables
point [foo v] towards [mouse v] ::variables
point [foo v] towards [center v] ::variables
turn [foo v] clockwise () degrees ::variables
turn [foo v] counterclock () degrees ::variables
(foo x position :: variables)
(foo y position :: variables)
([foo v] x position :: variables)
([foo v] y position :: variables)
(foo [x v] position ::variables)
(foo [y v] position ::variables)
([foo v] [x v] position ::variables)
([foo v] [y v] position ::variables)
(foo direction ::variables)
([foo v] direction ::variables)
move [list v] to x: () y: () ::listdirection wouldn't be used as much.
change [list v] x by (0) ::list
change [list v] y by (0) ::list
change [list v] [x v] by () ::list
change [list v] [y v] by () ::list
set [list v] x to () ::list
set [list v] y to () ::list
move [list v] to [random position v] ::list
move [list v] to [mouse pointer v] ::list
move [list v] to [center v] ::list
move [list v] () steps ::list
glide [list v] () secs to [random position v] ::list
glide [list v] () secs to [mouse pointer v] ::list
glide [list v] () secs to [center v] ::list
glide [list v] () secs to x: () y: () ::list
point [list v] in direction () ::list
point [list v] towards x: () y: () ::list
point [list v] towards [random position v] ::list
point [list v] towards [mouse v] ::list
point [list v] towards [center v] ::list
turn [list v] clockwise () degrees ::list
turn [list v] counterclock () degrees ::list
(list x position ::list)
(list y position ::list)
([list v] x position ::list)
([list v] y position ::list)
(list [x v] position ::list)
(list [y v] position ::list)
([list v] [x v] position ::list)
([list v] [y v] position ::list)
(list direction ::list)
([list v] direction ::list)
Last edited by BanMeOS (Sept. 21, 2021 15:10:48)
([foo v] ::variables)
([list v] ::list)
set [ v].y to [] ::variables
([foo v] [ v] pos :: variables)
<[] is exactly [] :: operators>
<mouse moving? ::sensing>
point towards x: () y: () ::motion
glide () secs to [sprite v] ::motion
we reach 410 + 10 posts :: sound
lol ::operators
- TheBus_2
- Scratcher
47 posts
Move variables and lists
suprt
I am a human being who doesn’t want the Urkans to conquer Earth.
when I receive [The Urkans arrive v]
say [Oh no I didn’t plan this to happen]
set [Telling the truth v] to [true]
- toggleable
- New Scratcher
4 posts
Move variables and lists
set size of [foo v] to ()% ::variables
set size of [list v] to ()% ::list
(size of [foo v] ::variables)those as well, motion of variables and lists
(size of [list v] ::list)
(size of foo ::variables)
(size of list ::list)
I think those would be useful if there were more types of ways variables can show on screen (the only ways are normal readout, large readout, slider currently)
(((::grey) (on :: operators) ::#003319) (off :: list) ::grey)turn it off if you can
- InternetLizard
- Scratcher
500+ posts
Move variables and lists
Support, you can already move them, but it's impossible to get them in exactly the right position
- dave-alt-4
- Scratcher
1000+ posts
Move variables and lists
support cuz workaround has like more blocks than the whole project
guide to make good projects <3
Think! Is saying if you support a suggestion necessary? No! People can just tell by your constructive post after it. You have more freedom on your tone!
Forumers, especially new, may also get upset if you say “no support!!!” at them! They may take the whole post in a negative tone, and that makes them upset!
Instead, you can kindly say why their suggestion has cons. They will take it as “constructive criticism” and be happy. - dertermenter
Forumers, especially new, may also get upset if you say “no support!!!” at them! They may take the whole post in a negative tone, and that makes them upset!
Instead, you can kindly say why their suggestion has cons. They will take it as “constructive criticism” and be happy. - dertermenter
- -EmeraldThunder-
- Scratcher
1000+ posts
Move variables and lists
Support, this is currently not possible without text engines and other pen systems to render text and backgrounds. This is unessasary and can cause lag on low end devices.
Nothing here.
- the_creater_boi
- Scratcher
1 post
Move variables and lists
sup its the creater boy please follow and play my games this is how you transfer one variable to another (please dont take credit for this)
when this sprite clicked
change [ v] by(☁ score)
- VeryFamus
- Scratcher
1000+ posts
Move variables and lists
Support. Can allow for more creativity with variable usage, also this:
I also added size. Not that I think it would be all too useful, but it is also it’s own form of motion and can further spark creativity.
And also layering because layers kind of are also movement, as you can move behind or in front of the sprite.
List :: list hatI added direction because it hasn’t been brought up before but is also motion, in it’s own sense.
Change X of [list v] by () :: list
Change Y of [list v] by () :: list
Set [list v] size to () % :: list
Change [list v] size by () % :: list
Move [list v] [forward v] () layers :: list
Make [list v] go to [front v] layer :: list
Move [list v] () steps :: list
Glide [list v] to [sprite v] :: list
Point [list v] towards [sprite v] :: list
Make [list v] go to X: () Y: () :: list
Change [list v] direction ccw by () :: list
Change [list v] direction cw by () :: list
Glide [list v] to X: () Y: () for () seconds :: list
Point [list v] in direction () :: list
([list v] X :: list)
([list v] Y :: list)
([list v] direction :: list)
([list v] size :: list)
Variables :: variables hat
Change X of [var v] by () :: variables
Change Y of [var v] by () :: variables
Set [var v] size to () % :: variables
Change [var v] size by () % :: variables
Move [var v] [forward v] () layers :: variables
Make [var v] go to [front v] layer :: variables
Move [var v] () steps :: variables
Glide [var v] to [sprite v] :: variables
Point [var v] towards [sprite v] :: variables
Glide [var v] to X: () Y: () for () seconds :: variables
Make [var v] go to X: () Y: () :: variables
Change [var v] direction ccw by () :: variables
Change [var v] direction cw by () :: variables
Point [var v] in direction () :: variables
([var v] X :: variables)
([var v] Y :: variables)
([var v] direction :: variables)
([var v] size :: variables)
I also added size. Not that I think it would be all too useful, but it is also it’s own form of motion and can further spark creativity.
And also layering because layers kind of are also movement, as you can move behind or in front of the sprite.
Last edited by VeryFamus (Dec. 29, 2021 14:23:23)
some know me as the guy who only posted in suggestions
i have returned once more
Lamp oil, rope, bombs. You want it? It’s yours my friend. As long as you have enough rupies.
- VeryFamus
- Scratcher
1000+ posts
Move variables and lists
sup its the creater boy please follow and play my games this is how you transfer one variable to another (please dont take credit for this)-blocksnip-
The forums is not the place for this.
some know me as the guy who only posted in suggestions
i have returned once more
Lamp oil, rope, bombs. You want it? It’s yours my friend. As long as you have enough rupies.
- Roblox888i
- Scratcher
1000+ posts
Move variables and lists
It is. Theres a show and tell.sup its the creater boy please follow and play my games this is how you transfer one variable to another (please dont take credit for this)-blocksnip-
The forums is not the place for this.
Below this little line ^ is my signature, you can edit it by going to scratch.mit.edu/discuss/settings/YOURUSERHERE/ also highlight a part and do CNTRL+SHIFT+DOWN to scroll down.
Roblox888i
===========================================================================================================
| Ocular Profile | Scratch Profile | ScratchStats Profile |
===========================================================================================================
===========================================================================================================
| Ocular Profile | Scratch Profile | ScratchStats Profile |
=================================
| | Scratch Wiki Profile | |===========================================================================================================
- VeryFamus
- Scratcher
1000+ posts
Move variables and lists
Isn’t that for advertising? And there is no forum for tutorials… plus why would this be in suggestions?It is. Theres a show and tell.sup its the creater boy please follow and play my games this is how you transfer one variable to another (please dont take credit for this)-blocksnip-
The forums is not the place for this.
some know me as the guy who only posted in suggestions
i have returned once more
Lamp oil, rope, bombs. You want it? It’s yours my friend. As long as you have enough rupies.
- Tunde123
- Scratcher
1000+ posts
Move variables and lists
Why do you support? Please be constructive. support.
This is a SIGNATURE. This is seperate from a normal post ^
Forum Posts: 2600+/3000
Highlight + Shift + Down Arrow = To see whole signature.
Want to friend me on Roblox? My username is BaconvsRoblox121314 if you want to friend me!
–v More Information v–
New Scratchers - Introduce yourself here!
Questions about Scratch - Ask questions related to scratch here!
Help with Scripts - get/provide help here!
Suggestions - Suggest blocks, features, and more here!
Bugs and Glitches - Report bugs/glitches here!
Last edited by Tunde123 (May 17th, 2022 10:18 AM EST)
- Discussion Forums
- » Suggestions
- » Move variables and lists