Operator ( Vector2 * Vector2 )
Multiplies a vector by another vector. Multiplies each component of lhs by its matching component from rhs.
LHS Type | Symbol | RHS Type | Result Type |
---|---|---|---|
Vector2 | * | Vector2 | Vector2 |
Usage
---@type Vector2
local lhs;
---@type Vector2
local rhs;
local result = lhs * rhs; -- result is Vector2