> 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/boolean.md).

# Boolean

A Boolean variable, is a variable of logical type whose value can be True or False. Most often such a variable is used to determine whether an object has a property or not. As well as to set this property through animations.

To set a variable of this type:&#x20;

* In the components tab of the object, select Variables&#x20;
* Create a new variable Select Boolean type&#x20;

![](/files/eQavgtotGqzAJ6MNH0OL)

* Set the initial value of the variable. A toggle on corresponds to a True value, a toggle off corresponds to a False value.

![](/files/lLUqSshs42VYYhsj6aqw)

To toggle the value of a variable, add it to the timeline using the object selection to which it is assigned.&#x20;

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

Or create a local variable in the animation and use it.

<figure><img src="/files/5mX703toIZLegTlsGEYa" alt=""><figcaption></figcaption></figure>

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