# Styling the AnimComposer Editor.

The **AnimComposer** custom editor gives you direct access to all its **visual elements** and **style sheets**, making it easy to modify the interface.\
To begin editing, simply select the file **`AnimComposerEditor (Visual Tree Asset)`**.

If you’d like to learn more about how Unity’s **UI Toolkit** works — including how to style visual elements — check out Unity’s official [**UI Toolkit E-book**](https://unity.com/es/resources/scalable-performant-ui-uitoolkit-unity-6).

Prefer learning through video? There’s also a helpful video tutorial that explains [**UI Toolkit**](https://unity.com/es/resources/scalable-performant-ui-uitoolkit-unity-6) in the context of custom editors.

***

Because this is a fairly deep topic, we won’t cover every detail of how the system works here.\
Instead, we’ll focus on a few simple visual modifications, all performed intuitively through the UI Builder Asset.

{% hint style="info" %}
You can also modify the **.UXML** files to adjust the **editor’s layout and structure**, or the **.USS** style sheets to change the **visual appearance and aesthetics**.
{% endhint %}

<figure><img src="/files/TfxHwDrvtmAoJ3Jz9JwP" alt=""><figcaption><p>Modifying the base button color by selecting and editing the <code>.CustomButton</code> style class.</p></figcaption></figure>

***

<figure><img src="/files/KClrWNhEKAbxseOwkXrf" alt=""><figcaption><p>Changing the Animation Preview Window border color by selecting and editing the Visual Element.</p></figcaption></figure>

***

<figure><img src="/files/M6xgbWvyGoki0t77NfBX" alt=""><figcaption><p>hanging the ActionBlocks border by editing the <code>.action-block</code> style class.</p></figcaption></figure>

***

I’m showing only simple examples here, but the styling possibilities go far beyond color or border width. You can modify almost any aspect of the interface — even the layout and distribution of certain elements.

Keep in mind, however, that **`AnimationPreviewInspector.cs`** binds functionality to specific visual elements. For these to work correctly, their **assigned names must remain unchanged**.

You can also modify the **`AnimationPreviewInspector.cs`** script itself to extend functionality, though it’s strongly recommended to **back up the default version first**.

***


---

# 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://boundbyoath-bbo.gitbook.io/animation-composer-system-acs-documentation/outline/quickstart-1.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.
