Skip to content

Profectus / game/layers / Position

Interface: 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:94


y ​

y: number

The Y component of the entity's position.

Defined in ​

profectus/src/game/layers.tsx:96