Vector2:get

From Wake
Jump to: navigation, search

Get an element from a vector.

Function

Synopsis

n = Vector2:get(i)

Arguments

number i

The element index. Must be between 1 and 2 inclusive.

Returns

number n

The value of the element at index i.

See Also