# Boolean Parameter

The boolean parameter creates a new modern way to select "true" or "false".

## How to register it?

Code:

```lua
MyCommand:AddParameter("Boolean", {
    Name = "Amazing Boolean", --// Parameter name.
})
```

If you did it correctly, You should see the parameter appear on the parameters section.

<figure><img src="https://2544013832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc9bK8pux8ECQEv3nGxVN%2Fuploads%2FQmzhTHBkqcWU4jF42WXq%2Fimage%20(9).png?alt=media&#x26;token=86cc9068-b8fe-4858-a868-27539511e128" alt=""><figcaption></figcaption></figure>

