Discuss Scratch

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.

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

pizzataco213 wrote:

I know how to (Kinda) move variable!

when green flag clicked
go to [ v]
say (☁ score)
though, that doesn't move the actual variable or list itself

([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
move [foo v] to x: () y: () ::variables

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)
Lists
move [list v] to x: () y: () ::list

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)
direction wouldn't be used as much.

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)
(size of [list v] ::list)
(size of foo ::variables)
(size of list ::list)
those as well, motion of variables and lists
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


select all + shift + down arrow

Starlighter so cool!

BUMP!!!!
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


-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:
List :: list hat

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 added direction because it hasn’t been brought up before but is also motion, in it’s own sense.

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

the_creater_boi wrote:

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

VeryFamus wrote:

the_creater_boi wrote:

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.
It is. Theres a show and tell.

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 |
=================================
| | Scratch Wiki Profile | |
===========================================================================================================
VeryFamus
Scratcher
1000+ posts

Move variables and lists

Roblox888i wrote:

VeryFamus wrote:

the_creater_boi wrote:

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.
It is. Theres a show and tell.
Isn’t that for advertising? And there is no forum for tutorials… plus why would this be in suggestions?

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.
BOBSchlowinskii
Scratcher
30 posts

Move variables and lists

support.

SCRATCHIN' SINCE 21!
Tunde123
Scratcher
1000+ posts

Move variables and lists

BOBSchlowinskii wrote:

support.
Why do you support? Please be constructive.

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)
Jackson49_test
Scratcher
100+ posts

Move variables and lists

Bump
diamondjet1783
Scratcher
3 posts

Move variables and lists

()
define
define
define
define ()

Powered by DjangoBB