Skip to main content
Documentation
Node Editor

Comparison Nodes

Compare values using operations like equal, greater than, less than, and logical operators.

Compare values using operations like equal, greater than, less than, and logical operators.

This category contains 11 nodes.

Nodes

Gate

On/off switch based on a threshold. Outputs 1 when above, 0 when below. Creates hard cutoffs.

Inputs: Value to test and threshold level.

NameTypeRangeDefault
ValueNumberany0
ThresholdNumberany0.5

Outputs: 1 if value meets threshold, 0 otherwise.

NameTypeRange
ResultNumber0 or 1

Is Equal

Checks if two numbers are exactly equal.

Inputs: Two values to compare.

NameTypeRangeDefault
ANumberany0
BNumberany0

Outputs: True if equal, false otherwise.

NameTypeRange
ResultBooleanbool

Is Greater

Checks if A is larger than B. Optionally includes equal values.

Inputs: Two values and whether to include equals.

NameTypeRangeDefault
ANumberany0
BNumberany0
Include EqualBooleanboolfalse

Outputs: True if A is greater (or equal if enabled).

NameTypeRange
ResultBooleanbool

Is Smaller

Checks if A is smaller than B. Optionally includes equal values.

Inputs: Two values and whether to include equals.

NameTypeRangeDefault
ANumberany0
BNumberany0
Include EqualBooleanboolfalse

Outputs: True if A is smaller (or equal if enabled).

NameTypeRange
ResultBooleanbool

Max

Returns the larger of two numbers.

Inputs: Two numbers to compare.

NameTypeRangeDefault
ANumberany0
BNumberany0

Outputs: The larger value.

NameTypeRange
NumberNumberany

Maximum Vector

Takes the larger value for each axis. Compares X with X, Y with Y, Z with Z.

Inputs: Two 3D vectors.

NameTypeRangeDefault
Vector AVectorvec[0, 0, 0]
Vector BVectorvec[1, 1, 1]

Outputs: Vector with the larger value from each axis.

NameTypeRange
VectorVectorvec

Min

Returns the smaller of two numbers.

Inputs: Two numbers to compare.

NameTypeRangeDefault
ANumberany0
BNumberany0

Outputs: The smaller value.

NameTypeRange
NumberNumberany

Minimum Vector

Takes the smaller value for each axis. Compares X with X, Y with Y, Z with Z.

Inputs: Two 3D vectors.

NameTypeRangeDefault
Vector AVectorvec[0, 0, 0]
Vector BVectorvec[1, 1, 1]

Outputs: Vector with the smaller value from each axis.

NameTypeRange
VectorVectorvec

Step

Hard cutoff at a threshold. Returns 0 below the edge, 1 at or above it.

Inputs: Threshold and value to test.

NameTypeRangeDefault
EdgeNumberany0
XNumberany0

Outputs: 0 or 1.

NameTypeRange
NumberNumber0 or 1

Step Vector

Hard cutoff for each axis. Returns 0 below the edge, 1 at or above.

Inputs: Edge threshold and value to test.

NameTypeRangeDefault
EdgeVectorvec[0, 0, 0]
XVectorvec[0, 0, 0]

Outputs: Vector with 0 or 1 for each axis.

NameTypeRange
VectorVectorvec

Threshold

Cuts off values below a threshold. Values above pass through unchanged; values below become zero.

Inputs: Value to filter and threshold cutoff point.

NameTypeRangeDefault
ValueNumberany0
ThresholdNumberany0.5

Outputs: Original value if above threshold, otherwise 0.

NameTypeRange
ResultNumberany