Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

How do I select an item from a list created in Scratch?

Writer 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.

4

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

0

This may help:Item [ ] of List

This block is under the tab 'Variables'. To get to it, first, you must create a list.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.