Skip to main content

Vector2.Scale(Vector2 a, Vector2 b)

Multiplies two vectors component-wise.

Parameters:

NameTypeDescription
aVector2
bVector2

Returns:

typeDescription
Vector2result

Usage

---@type Vector2
local a;

---@type Vector2
local b;


local val0 = Vector2:Scale(a, b)