Vec2:unpack
EditReturns the 2 components of the vector as numbers.
x, y = Vec2:unpack()
Arguments
None
Returns
Name | Type | Description |
x | number | The x value. |
y | number | The y value. |
See also
Vec2:set
Vec2
Returns the 2 components of the vector as numbers.
x, y = Vec2:unpack()
None
Name | Type | Description |
x | number | The x value. |
y | number | The y value. |
Vec2:set
Vec2