πŸ“‹Multipick Block

Create a dropdown list of predefined items for a user to select.

The multipick block allows a user to select an item from a predefined list of options, or have an option randomly selected.

Title

  • Click the pencil icon next to the block’s title to edit it

    • Tip: This is also the block’s variable name, which can be used to dynamically populate data in other blocks.

Text

  • Enter one dropdown menu option per line

  • Use the pipe character "|" to delineate key/value pairs, like "small | 512x512". In the menu, the user would see

Random mode

Select the Randomize option to randomly select an option when the glif is run, without any user input required.

In the "cake/pie" example above, this would result in half of runs using "cake" and half using "pie"

Key-value mode

You can also specify key-value pairs using a pipe delimeter (|, generally found above the Enter/Return key on most keyboards)

This allows you to show the user a list of options like "small, medium, large" but have those values map to i.e.

It's also possible to have keys correspodn to full JSON objects that you can then combine with the JSONExtractor block! Very fancy!

Last updated