> 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;

![](https://4240499350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lt-sE9MYKe9pZOcHwg5%2Fuploads%2FJfZaP0q3Occ7Vu8JNVt2%2Fimage.png?alt=media\&token=ef22c205-faaf-4e8c-bde1-a8a746911ae3)

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

![](https://4240499350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lt-sE9MYKe9pZOcHwg5%2Fuploads%2FIUC4T5miJ4sHS0bYLtdJ%2Fimage.png?alt=media\&token=b7e2dfd4-6a51-49c7-a6c9-d02f70e9af23)

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="https://4240499350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lt-sE9MYKe9pZOcHwg5%2Fuploads%2FPSy98gWcUvA60sbRBTtt%2Fimage.png?alt=media&amp;token=2c0947f0-9be4-4227-84c3-ef1854b3c184" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4240499350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lt-sE9MYKe9pZOcHwg5%2Fuploads%2FOllhV3Vk0EUjxjLRpDhF%2Fimage.png?alt=media&amp;token=57fbd455-7498-442a-bdfa-d38ec1ca6bb1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4240499350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lt-sE9MYKe9pZOcHwg5%2Fuploads%2FQXACWrEFORAJigpHEhFF%2Fimage.png?alt=media&amp;token=c4448da1-871b-47ce-a920-76ee0c993d3f" alt=""><figcaption></figcaption></figure>
