How do I select an item from a list created in Scratch?
Matthew Harrington
My son and I are learning how to program in Scratch from MIT. I have learned using the variables tools how to create a list but I cannot work out how to select an item from the list I created and to use that selection for the next command. How do I do it?
By the way, is there a way to export Scratch graphic script as a text script for sharing here?
Thanks a lot.
43 Answers
There should be a block under 'Variables' called item [] of [] - see . Set the first blank to the index you want to select, and the second to the name of the list.
There is a block under 'Variables' called item [] of []. did you make a list creation script? in that case, put the list name in the dropdown menu as you put it in the add [] to [] block. hope this help!
This may help:Item [ ] of List
This block is under the tab 'Variables'. To get to it, first, you must create a list.