Discuss Scratch

Codingfairy07
Scratcher
500+ posts

Move variables and lists

Yes support this will be so helpful!
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)
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
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)

TheBus_2
Scratcher
47 posts

Move variables and lists

suprt
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)
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
-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.
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)

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

Move variables and lists

support.
Tunde123
Scratcher
1000+ posts

Move variables and lists

BOBSchlowinskii wrote:

support.
Why do you support? Please be constructive.
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