Skip to content
AEOWUN
Docs Menu

Cells

Read and change voxel World objects during Play.

Get a Cell

Use Finding Objects to choose a name or ID lookup.

const block = cell.get(12345)
if block != nil {
    block.color = [1, 0.5, 0]
}

Replace 12345 with a Cell ID from your World.

Change a Cell

Visibility, collision, color, and other supported properties can change during Play. Ordinary changes do not rewrite the saved World. They are discarded when Play stops.

Create or delete

cell.new("Block") creates a temporary Cell. cell.delete(handle) removes it from the active World. Deleting an authored Cell during Play is temporary too. For a complete example, see Create a runtime Cell.

Attributes

Use Attributes for custom named values. See the Cell API for types, properties, and limits.

[BETA] marks features newer than the current public release. Current release: 0.8.0.