Skip to content

indexInPile

indexInPile(world, item): number

Defined in: src/modules/pile/pile.ts:127

item’s position in its pile (0 = bottom), or -1 when it is in none.

EcsWorld

EntityId

number