Multiply Vector

Scales a vector by a number.

Node id vector/multiply

The Multiply Vector node outputs vector with both components multiplied by scalar: (3, 4) times 2 is (6, 8).

Inputs

NameTypeDefaultNotes
vectorVec2{ x: 0, y: 0 }
scalarnumber1

Outputs

NameTypeNotes
vectorVec2

Behaviour

  • Defaults. vector defaults to (0, 0) and scalar to 1.
  • Length. The result is scalar times as long. A negative scalar also reverses the direction.
  • Setting a length. Multiply a length-1 vector (from Normalize or Vector From Angle) by the length you want.
© 2026 Wirepaint