Discuss Scratch

they-might-be-cats
Scratcher
100+ posts

question about cloning

create clone of [myself v]
how is cloning work with
<touching [ v]?>
(x position)
glide () secs to x: () y: ()
and local
(variables)

Last edited by they-might-be-cats (Feb. 26, 2014 22:55:15)

AonymousGuy
Scratcher
1000+ posts

question about cloning

If a clone is of the sprite in the “touching” block, it will return true, as if the clone were the sprite itself. For x position (and y position, as well as anything but global variables and lists) the data is local to the clone, so it will only change for the clone and will report the clone's value. To access it from other sprites a list is normally used.

Powered by DjangoBB