# Create and Manage Variables

## Creating Variables

Variables should be created within the Core Framework plugin. Once created, these variables will automatically synchronize with Figma’s local variables upon saving your changes.

## Managing Variables

To manage variables, make all necessary adjustments within the Core Framework plugin. Ensure you save any changes after completing modifications to ensure updates are applied correctly.

{% hint style="danger" %}
**Important:** Variables should be edited exclusively through the Core Framework plugin and not through Figma’s interface (including the Variables modal or other editable sections). Changes saved in Core Framework will overwrite any existing variables in Figma.
{% endhint %}

## Accessing the Variable Modal

To view the variables generated from Core Framework within Figma, follow these steps:

1. Ensure that you have clicked '**Save'** in the Core Framework plugin before accessing the variables for the first time, as Figma will collect and add them as **Local variables.**
2. Deselect all objects on the Figma canvas by pressing the **Escape** key or clicking on an empty space on the canvas.
3. In the right-hand sidebar, locate the **Local variables** section.
4. Click on the **Local variables** tab to open the **Variables modal**.

Within this modal, you can observe all variables generated from Core Framework.

<figure><img src="/files/QoObNlGDd2iI6aAUSWdn" alt=""><figcaption><p>Here is a view of Brand color variables generated from Core Framework in Figma's variables modal!</p></figcaption></figure>

Any further changes you make in Core Framework will update in the modal as soon as you save changes!


---

# 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.coreframework.com/figma/create-and-manage-variables.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.
