currentSystemOf

function currentSystemOf
devtools/src/travel.ts:789
currentSystemOf(world: World, id: EntityId | null) → SystemId | null

The system an entity is inside, from its frame chain.

The frame chain, not the address: a ship has no address at all. This is the same rule authority follows, for the same reason — containment is what makes a ship in Sol, not a field on the ship.

worldWorld
Undocumented
idEntityId | null
Undocumented
ReturnsSystemId | null