# How to Author the State Machine

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

1. Launch “HyperSkill-Desktop.exe”

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

2. &#x20;Log in to your account and select “Simulations” from the home screen&#x20;
3. Select a simulation from the list and click on the pencil icon ![](/files/HbxK8UMNWlqlgTkWaP48) to open it in edit mode
4. Click on the State Machine tab ![](/files/3hmbeUc1w7D7aJFEK59L) to open the State Machine creation UI
5. Layout your state changes as desired to utilize the functions outlined in the State Machine Builder User Interface.
6. When in experience mode the state machine will start from the entry node which is determined by the Entry Node Dropdown. Anything in the Always Running State is being checked at all transitions.
7. State machine nodes can affect any attribute, but can only have one trigger to act as a transition. There is no limit to the conditions. States execute along the path of the transitions.


---

# 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/how-to-author-the-state-machine.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.
