const keyword

const id = expression

id identifier Unique identifier for the constant.

expression floatstringboolfloat[]string[]bool[] Constant value.

A new constant can be introduced by the const keyword. As for attr, constant expressions are evaluated only once at the beginning of the generation process before any rule is applied.

The values of constants cannot be externally changed through the Inspector or by a map. Constant expressions do not appear in the Inspector.

Related

Example

Defining a constant with const

const height = 250

Lot --> extrude(height)