Discuss Scratch

U1217791
New Scratcher
9 posts

Help With Copying List!

Sorry I've been posting a lot in this forum lately, but I've just been having a lot of trouble with using the lists in scratch. So, what I'm trying to do is make a loop for I can transfer items from one list to another list, where they have the same index number. It's all in the same game and I understand how to transfer one item, but it's just getting it in the loop of transfer the rest for it can do it for however many items are stored in the list.
mstone326
Scratcher
1000+ posts

Help With Copying List!

You can create the master list and use a variable to transfer each item from master to copy.

set [index v] to [0]
repeat (length of [master v] :: list)
change [index v] by (1)
add (item (index) of [master v] :: list) to [copy list v]

end
Dat_Snow_Kid
Scratcher
13 posts

Help With Copying List!

Doesn't work for negatives
Nezon
Scratcher
1000+ posts

Help With Copying List!

Dat_Snow_Kid wrote:

Doesn't work for negatives
There are no negatives in lists.

Also, don't necropost, this topic is old!
gokublue86
Scratcher
6 posts

Help With Copying List!

I have a problem with lists. It's that i can't copy the whole list. For example,
add [29138210382914798124788126492164821647836184763287468162783628736271] to [test]


Usually if the list is this long it shows 3 dots to represent that there is more. Like this

123456787654321234567654321234567865432123456789765432123456787654321 then, …


But, I cant copy the things that don't show








Last edited by gokublue86 (May 12, 2023 11:32:49)

gokublue86
Scratcher
6 posts

Help With Copying List!

Never mind, I was being an idiot
medians
Scratcher
1000+ posts

Help With Copying List!

gokublue86 wrote:

Never mind, I was being an idiot
Don’t necropost, but you can triple click and copy it or export the list. However that’s difficult to do on mobile and I wish there was a way to put it on different lines like before Scratch 3.0.

Powered by DjangoBB