> For the complete documentation index, see [llms.txt](https://docs.discorddungeons.me/quest-editor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.discorddungeons.me/quest-editor/logic-blocks/not.md).

# Not Block

![Not Block](https://602309350-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNeYKoJ5VTmJdlF1rx1%2F-LNihKFQ2MXuem_lR31S%2F-LNihMZu2pvkp_TnJS5R%2Fnot.jpg?generation=1538381937592640\&alt=media)

The not block returns true if the attached condition is false, and false if the attached condition is true.

## Generated Code

```javascript
!condition;
```
