Motion
Get Motion

ReferenceScripting APIVector2dot

Vector2.dot

method

The dot product with another.

Namedot
Kindmethod of Vector2
Called asvector2.dot(…)
Since0.3

Syntax

dot(v: Vector2): number

Parameters

NameTypeDescription
vVector2The other

Returns

number: the number.