# Logic blocks

> 11 blocks in the Logic category.

[All blocks](https://inventor.bot/docs/reference/blocks.md)

| Block | ID | Description |
| --- | --- | --- |
| [Loop](https://inventor.bot/docs/reference/blocks/logic/loop-basic.md) | `loop_basic` | Run the nested blocks a fixed number of times. |
| [While Loop](https://inventor.bot/docs/reference/blocks/logic/while-loop.md) | `while_loop` | Repeat blocks while a condition is true. |
| [If Statement](https://inventor.bot/docs/reference/blocks/logic/if-statement.md) | `if_statement` | Compare two values and run different blocks based on the result. |
| [Advanced Conditional](https://inventor.bot/docs/reference/blocks/logic/advanced-conditional.md) | `advanced_conditional` | Run different blocks based on grouped comparisons. |
| [Conditional Value](https://inventor.bot/docs/reference/blocks/logic/ternary-conditional-value.md) | `ternary_conditional_value` | Compare two values and output one of two values based on the result. |
| [Folder](https://inventor.bot/docs/reference/blocks/logic/folder.md) | `folder` | Organize blocks into a folder. Creates a variable scope. |
| [Break](https://inventor.bot/docs/reference/blocks/logic/break-loop.md) | `break_loop` | Stop the current loop and continue with the blocks after it. |
| [Continue](https://inventor.bot/docs/reference/blocks/logic/continue-loop.md) | `continue_loop` | Skip the rest of this loop iteration and move to the next one. |
| [Exit Flow](https://inventor.bot/docs/reference/blocks/logic/exit-flow.md) | `exit_flow` | Stop the entire flow immediately. No further blocks will run. |
| [Call Custom Block](https://inventor.bot/docs/reference/blocks/logic/call-custom-block.md) | `call_custom_block` | Call a custom block and use its returned outputs. |
| [Return](https://inventor.bot/docs/reference/blocks/logic/return-from-custom-block.md) | `return_from_custom_block` | Return outputs from the current custom block and stop executing it. |