> For the complete documentation index, see [llms.txt](https://help.manu.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.manu.co/learn/manual/variables/number.md).

# Number

A variable of the "Number" type, as its name implies, can only store numeric values. You can use these values with other variables and object properties that have or use numeric values. A numeric variable can store numbers from 0.00009 to 999999.

### How to set the Number Variable? <a href="#id-91dirr523zpe" id="id-91dirr523zpe"></a>

The Number Variable can be set in the Inspector Panel. To do this, select the object in the Scene Tree and:

* Go to the Inspector Panel and click on Variables Tab. After that, the Variables Panel will appear in the upper right corner of the screen.
* Click on the plus (“Add variable” button) and you will see a drop-down list with the variables that MANU has.

![](/files/4ilG34FyO5NeB2XoPSW1)

* Name variable if you need.
* Select “Number” from the list or leave it "Number" by default.

![](/files/bqUHzmK5M7OT4RHBqiUp)

### How to change variable in Animations?

You can change variable value in animations:

* Select an object that has the variable you need and add it to the timeline&#x20;

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

* In the animated properties, select the need variable&#x20;

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

* Select the target keyframe and change the value of the variable to the one you want.

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

### How to use variables in formulas?

You can always use variables in formulas for calculations in your game.&#x20;

* To access the value of a variable in the formula bar, type "$".&#x20;
* The formula object picker will open. In the picker, select the desired object and its variable.

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

* The added variable will be used given the arithmetic operations in your formula.

<figure><img src="/files/0d13bp0vyi4nYxc1gp5c" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.manu.co/learn/manual/variables/number.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
