# Class Vector2

A 2D vector.

#### Implements

- Vector

- Defined in math.d.ts:9

#####
Index

### Constructors

constructor

### Properties

x
y

## Constructors

### constructor

- new Vector2(x, y): Vector2

- #### Parameters

  - x: number
  - y: number

  #### Returns Vector2

  - Defined in math.d.ts:12

## Properties

### x

x: number

Implementation of Vector.x

- Defined in math.d.ts:10

### y

y: number

Implementation of Vector.y

- Defined in math.d.ts:11