Vector 2 represents pairs of X and Y values. Use to represent all bidimensional variables.
Mouse position, acceleration use this object type.
Constructor for a new Vector2 object.
X coordinate.
Y coordinate.
X component of the vector.
Y component of the vector.
Add the value of another vector to this vector.
Another vector.
Copy values from another vector to this one.
Vector to copy data from.
Distance to another vector.
Another vector to calculate distance.
Div the value of this vector by a scalar.
Scalar value.
Set the value of the vector.
Vector 2 represents pairs of X and Y values. Use to represent all bidimensional variables.
Mouse position, acceleration use this object type.