Skip to content

Latest commit

 

History

History
55 lines (27 loc) · 777 Bytes

File metadata and controls

55 lines (27 loc) · 777 Bytes

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.