Show List () | |
show list [ v] | |
Category | List |
Type | Stack |
Introduced in | 2.0 |
The Show List () block is a Lists block and a Stack block. The block shows the specified List's Stage Monitor. The block was originally going to be Show Monitor (), showing both variables and lists, but this was changed in the 2.0 beta.
Example Uses
In projects that use lists' Stage Monitors to display things, the displays may have to hide and show at times — with the Hide List () block, this can be done.
Some popular uses are:
- Displaying an inventory
When [x v] key pressed say [And you carefully open your backpack…] for (2) seconds show list [inventory v]
- Showing output
when gf clicked delete all of [numbers v] repeat (3) add (pick random (1) to (10)) to [numbers v] end say [Let me come up with some numbers…] for (3) seconds show list [numbers v] say [Here they are!] for (3) seconds