Documentation

Support

Unity Lite

Open Unity Lite

Unity Lite

Subtraction node

Subtract one value from another.
Read time 1 minuteLast updated 2 days ago

Use the Subtraction node to take one value away from another. It subtracts numbers or vectors component-by-component. This is useful if you want to reduce a value, calculate differences, or move in the opposite direction.

Sockets

Socket

Type

Description

Input 1
Float
,
Int
,
String
,
Vector2
,
Vector3
The value to subtract from.
Input 2Same type as Input 1The value to subtract. Must be the same type of value as Input 1.
OutputSame as Input 1 (output)The result of the subtraction: numbers or vectors subtracted per component.