# Quiz

A detailed explanation of controls and interface functions are described in the section [State Machine Builder User Interface](https://docs.google.com/document/d/1-o5qSv4zTkzj7YSmRTkV4zezFq7lwU00FyTy0kw1l1U/edit#bookmark=id.6vu41emx3478).

1. Within the edit Simulation section of the HyperSkill Desktop application, navigate to the State Machine tab.
2. Click on the desired state and from the dropdown in either the entry or exit actions select the type QMultiple.
3. Press the + button to add the state to the action list.

<figure><img src="/files/0eCXa8zfsvMpmtuvrN4m" alt=""><figcaption></figcaption></figure>

4. &#x20;Press the Expand Choices button to type in your question prompt and any answers to the prompt. If you would like to delete any provided answer, press the Trash button to delete it. You can select one of the options to be evaluated as correct in this menu as well.

<figure><img src="/files/OdNkoP51KubPORtMHE80" alt=""><figcaption></figcaption></figure>

5. Your QMultiple state will update to reflect your question prompt.

<figure><img src="/files/0eCXa8zfsvMpmtuvrN4m" alt=""><figcaption></figcaption></figure>

6. If you want the prompt to be spoken to the user, select the Spoken check mark box.<br>


---

# Agent Instructions: 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:

```
GET https://docs.siminsights.com/authoring-a-simulation/state-machine/actions/quiz.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
