Skip to content

Api > Vector4 > Scale()


Vector4.Scale(Vector4 a, Vector4 b)⚓︎

Multiplies two vectors component-wise.

Parameters:⚓︎

Name Type Description
a Vector4 a
b Vector4 b

Returns:⚓︎

type Description
Vector4 Scaled Vector

Usage⚓︎

---@type Vector4
local a;

---@type Vector4
local b;


local val0 = Vector4:Scale(a, b)

Extra Detail⚓︎

Every component in the result is a component of a multiplied by the same component of b.