Skip to content

Expression

modifier.expression ยท Adjust

A per-cell math formula over x, y, and the input layers: the escape hatch for custom math.

Purpose

A per-cell math formula over the coordinates and the input layers, the escape hatch for an operation no node covers. Reach for it to combine layers, threshold a value, or write a shape directly as a formula.

Inputs

  • in (optional)

Outputs

  • out

Parameters

Parameter Type Range Default Unit Description Field-driven
Expr (expr) text height no

Layer contract

Reads and writes the height layer.

Behaviour

It runs on a wired input or, with none, as a pure coordinate formula that generates a field from scratch.