Vector2 Vector2 is a lua object that represents a two dimensional vector. It's inspired by the Vector2 class in Unity3D, and has most of the same operations.