Skip to content
On this page

Interface: Position

game/layers.Position

An object representing the position of some entity.

Properties

x

x: number

The X component of the entity's position.

Defined in

profectus/src/game/layers.tsx:97


y

y: number

The Y component of the entity's position.

Defined in

profectus/src/game/layers.tsx:99