Skip to main content

Operator ( Vector2 * Vector2 )

Multiplies a vector by another vector. Multiplies each component of lhs by its matching component from rhs.

LHS TypeSymbolRHS TypeResult Type
Vector2*Vector2Vector2

Usage

---@type Vector2
local lhs;

---@type Vector2
local rhs;

local result = lhs * rhs; -- result is Vector2