# Set variable

The **Set Variable** action allows assigning values to variables, enabling dynamic behavior and logic control within the project.

<figure><img src="https://2973737105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAXNLyKVZ2tvtyDr8sVES%2Fuploads%2FffJHwKoZRohM418LQfRY%2Fimage.png?alt=media&#x26;token=eac3ba2f-611d-4491-b00c-2492cda3a732" alt="" width="563"><figcaption></figcaption></figure>

**Settings**<br>

* **Variable** — Specify the variable whose value needs to be updated.
* **Value** — Specify the value to assign to the variable. This can be a static value or an expression.

Learn more about variables and expressions: [variables-and-expressions](https://open-2v.gitbook.com/url/help.vectary.com/documentation/3d-configurator/variables-and-expressions "mention")
