(Redirected from Drop-Down Menu)

This article is about dropdown menus used as inputs for blocks. For information on the creation of dropdown menus in Scratch projects, see How to Make a Dropdown Menu.
A dropdown menu.
A dropdown menu with a scroll bar.

A dropdown menu is a list of options that appears in some blocks. It can be accessed by clicking on an upside down triangle in the block.

Scrolling Dropdown Menus

Sometimes, a dropdown menu will be so long that not all options can be viewed at once. Scratch 2.0 had small arrows at the bottom of the menu in these cases, which could be used to scroll through the dropdown menu upon being hovered over with the mouse. In Scratch 3.0, it is possible to scroll through a menu by simply using a mouse or the scroll bar at the side.


Dropdown Menus as Inputs

Sometimes, dropdown menus can be used as string or number inputs. These dropdown menus are rounded. For example, the go to ( v) block has a dropdown menu:

Block inputs

go to (random position v)

For this block, the dropdown menu can be used as an input as well, meaning that blocks can be dragged in, such as variables:

go to (variable)

Text Inputs

The (join () ()) block can be used as a workaround for the purpose of text input. Just leave the first part of the block empty and enter any text into the second part:

go to (join [][enter text here ...])

Text inputs can be useful for very long dropdown menus, in which entering text can sometimes be easier than scrolling down all the way.

Non-Input Dropdown Menus

Not all dropdown menus work as inputs. Many dropdown menus with a fixed amount of options, like the variable blocks, will not work as inputs. These dropdown menus are rectangular. One example is the show variable [ v] block:

show variable [not an input v]

It is not possible to place a variable in that spot. However, some Scratchers have found a way around that by "hacking" various Scratch blocks. These could be obtained by editing the project.json file or importing them from another project. However, in Scratch 3.0, these dropdown menus can no longer be inserted with hacked blocks.

Blocks with Dropdown Menus

Note Note: This does not include all extension blocks.

Accept Block Inputs

These blocks allow their dropdown menus to be used as inputs for other blocks:

Do Not Accept Block Inputs

These blocks do not accept other blocks in their dropdown menus:

Cookies help us deliver our services. By using our services, you agree to our use of cookies.