ReferenceScripting APIVector2toArray
Vector2.toArray
methodAs [x, y].
| Name | toArray |
|---|---|
| Kind | method of Vector2 |
| Called as | vector2.toArray(…) |
| Since | 0.3 |
Syntax
toArray(): [number, number]Returns
[number, number]: the list.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.