> For the complete documentation index, see [llms.txt](https://docs.fullscreen.no/info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fullscreen.no/info/game-creator-2-assets/herobridge/instructions/populate-dropdown.md).

# Populate Dropdown

The **Populate Dropdown** instruction automatically fills a **TextMeshPro Dropdown** with all available parts of a chosen type from the cache's catalog.

#### Inside the Instruction

**Dropdown**\
A reference to the **TextMeshPro Dropdown** you want to populate with part options.

**Sidekick Character**\
The character whose current parts will be checked.\
If a matching part is found, it will be set as the currently selected dropdown option.\
If no match is found and **Include None** is enabled, the dropdown will default to the **None** option.

**Type**\
Choose which **part category** to populate the dropdown with.\
There are **38 categories** available, such as:

* Head
* Hair
* Torso
* Hips
* Attachments
* …and more.

**Filter by Pack**\
By default set to **Any**.\
Allows you to limit the dropdown to parts from a specific **Sidekick Modular Character Pack** (for example, only show parts from the “Human Base” pack).

**Include None**\
When enabled, adds a **None** option to the dropdown.\
Selecting this option in the dropdown will remove that part type from the character.

***

#### Example Use Case

You can use **Populate Dropdown** to create **character customizer** interface.\
For example, attach this instruction to an **On Enable Trigger** on your dropdown.\
When the UI opens (e.g., at the start of the game or in a customization menu), the dropdown automatically fills with all available hairstyles, heads, or other parts for your chosen character.

<figure><img src="/files/QH2cuHMgPjiB7ofDxdtJ" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.fullscreen.no/info/game-creator-2-assets/herobridge/instructions/populate-dropdown.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
