Skip to main content

Operator ( number * Vector2 )

Multiplies a vector by a number.

LHS TypeSymbolRHS TypeResult Type
number*Vector2Vector2

Usage

---@type number
local lhs;

---@type Vector2
local rhs;

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