# Character States

**HeroBridge** relies on **Game Creator 2’s Change Model** method when updating a character’s appearance.\
Because of this, there is a known limitation:

After a model change, **any States the character was in are lost** and **not re-applied** to the new model instance.\
To maintain consistent behavior, you’ll need to **re-enter the character’s States** after the model change.

This limitation is inherent to how **Game Creator 2** handles model changes and occurs **anytime the Change Model instruction is used**, regardless of where it’s called from.

{% hint style="info" %}
💡 **Tip:**

A workaround for this limitation is to **store the character’s current state** in **local variables.**

For example, you can create boolean variables such as:

* `StateIsRunning`
* `StateIsWalking`
* `StateIsIdle`

After the model change, use these stored variables to **reapply the appropriate states** to the character.
{% endhint %}


---

# 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.fullscreen.no/info/game-creator-2-assets/herobridge/troubleshooting/character-states.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.
