ReferenceScripting APIVector2dot
Vector2.dot
methodThe dot product with another.
| Name | dot |
|---|---|
| Kind | method of Vector2 |
| Called as | vector2.dot(…) |
| Since | 0.3 |
Syntax
dot(v: Vector2): numberParameters
| Name | Type | Description |
|---|---|---|
v | Vector2 | The other |
Returns
number: the number.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.