Update compounds.md

This commit is contained in:
Jakob K
2021-05-14 18:31:35 +02:00
committed by GitHub
parent 015fae293f
commit 228d4f0bbd

View File

@@ -2,7 +2,7 @@
In this example, let's create a simple gui which lists all existing materials. Also, we want to send a chat message with the name of the material when the user clicks on the icon.
You can create a compound inside a page builder scope. The recommended way of doing so is to use the `createRectCompound`.
You can create a compound inside a page builder scope. The recommended way of doing so is to use the `createRectCompound` function.
```kotlin
page(1) {