Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

measureLatency

measureLatency(world, character, step): void

Adds the lag of an action of hers that names step, landing at the room’s step now, to her latency. The room measures each shot; a game’s own action that names the step her screen showed may add its own.

Parameter Type
world World
character Entity
step number

void