Skip to content

Dot

Description

Dot is a Function on Vector2
Returns the dot product of the given Vector2s.

Example
local testVariable = Vector2.Dot(Vector2.New(1, 1), Vector2.New(1, 1))
Usage

network usage: Any (Client or Server/Host)
returns: float
parameters:
- a (Vector2)
- b (Vector2)