# Set Attribute

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. 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 Set Attribute.
3. Press the + button to add the state to the action list

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

4. &#x20;Select an entity with the ![](/files/481nyCIjBe6iovxqEQ4T) dropdown. This will be populated with every VO and VP in your space.
5. From your selected entity, select the Attribute from the ![](/files/4czdKaRz0VDHMu1gHCXY) dropdown. This will become selectable after you have selected an entity. The list will populate with every Attribute that currently exists on the selected Entity.
6. With an attribute selected, the Value field will be able to be entered. This Value will try to automatically fill itself out with a suitable attribute based on the attribute type. For example, types of Boolean will fill in True. This Value is entered as a string regardless of type.
7. Specifically, for the Snapped attribute the syntax is \<VO Name>.\<Hitbox Name> where the VO Name is the string given when selected with the selection tool.\ <br>

   <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/set-attribute.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.
