Skip to content

Latest commit

 

History

History
55 lines (27 loc) · 723 Bytes

File metadata and controls

55 lines (27 loc) · 723 Bytes

Home > server > Vector2 > angle

Vector2.angle() method

Returns the angle between two vectors.

Signature:

angle(vector2: Vector2): number;

Parameters

Parameter

Type

Description

vector2

Vector2

The vector to compare to the current vector.

**Returns:**

number

The angle between the two vectors.