Skip to main content

Operator ( Vector2 / number )

Divides a vector by a number.

LHS TypeSymbolRHS TypeResult Type
Vector2/numberVector2

Usage

---@type Vector2
local lhs;

---@type number
local rhs;

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