Skip to main content

Vector2.Dot(Vector2 lhs, Vector2 rhs)

Dot Product of two vectors.

Parameters:

NameTypeDescription
lhsVector2lhs
rhsVector2rhs

Returns:

typeDescription
numberDot Product of two vectors.

Usage

---@type Vector2
local lhs;

---@type Vector2
local rhs;


local val0 = Vector2:Dot(lhs, rhs)

Extra Detail

Returns lhs . rhs.