Operator ( number * Color )
7/14/25Less than 1 minute
Operator ( number * Color )
Multiplies color rhs
by the number lhs
. Each color component is scaled separately.
LHS Type | Symbol | RHS Type | Result Type |
---|---|---|---|
number | * | Color | Color |
Usage
---@type number
local lhs;
---@type Color
local rhs;
local result = lhs * rhs; -- result is Color