module:Position

Pair of value in 2d space

Constructor

new module:Position(x, y)

Position constructor

Parameters:
NameTypeDefaultDescription
xNumber0

Vertical component

yNumber0

Horizontal component