Home > server > Vector2 > max Vector2.max() method Sets each component of the vector to the maximum of the current vector and another vector. Signature: max(vector2: Vector2): Vector2; Parameters Parameter Type Description vector2 Vector2 The vector to compare to the current vector. **Returns:** Vector2 The current vector.