ReferenceScripting APIVector2sub
Vector2.sub
methodThis less another.
| Name | sub |
|---|---|
| Kind | method of Vector2 |
| Called as | vector2.sub(…) |
| Since | 0.3 |
Syntax
sub(v: Vector2): Vector2Parameters
| Name | Type | Description |
|---|---|---|
v | Vector2 | The other |
Returns
Vector2: the difference.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.