Operator ( number * Vector2 )
7/14/25Less than 1 minute
Operator ( number * Vector2 )
Multiplies a vector by a number.
LHS Type | Symbol | RHS Type | Result Type |
---|---|---|---|
number | * | Vector2 | Vector2 |
Usage
---@type number
local lhs;
---@type Vector2
local rhs;
local result = lhs * rhs; -- result is Vector2