Subtract

The subtraction operation (-) calculates the difference between two scalar numbers or vec2s.

Interface

Inputs

ParameterDetailsPossible Types
Minuend

The left-hand side of the subtraction operation.

Primary Input

Integer[]
Integer
Number[]
Number
Vec2[]
Vec2
Subtrahend

The right-hand side of the subtraction operation.

Default: 0

Integer[]
Integer
Number[]
Number
Vec2[]
Vec2

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Number
Number[]
Integer
Integer[]
Vec2
Vec2[]