Vector2

Constructor

vector2.new(x: number, y: number) -> vector2
Properties
Description

x

Defines the horizontal position of a point in 2D space, determining movement left or right.

y

Defines the vertical position of a point in 2D space, determining movement up or down.

Last updated