> For the complete documentation index, see [llms.txt](https://daikirai.gitbook.io/scripting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daikirai.gitbook.io/scripting/documentation/block.md).

# block

## Block

`Block` represents a block in the world with its properties and metadata.

| property     | type      | description                                |
| ------------ | --------- | ------------------------------------------ |
| type         | `String`  | block class name                           |
| name         | `String`  | registry name                              |
| variant      | `int`     | block metadata                             |
| interactable | `boolean` | `true` if the block can be interacted with |
| height       | `double`  | block bounding height                      |
| width        | `double`  | block bounding width                       |
| length       | `double`  | block bounding length                      |
