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

ThrottledTrait

const ThrottledTrait: CoreTrait<{ movedTick: number; moveTicks: number; }>

On each NPC throttled this tick: moveTicks is how many ticks its move on this tick covers, 0 off its tick, and movedTick the tick of its last move. Read it with readTrait(npc, ThrottledTrait). No stream carries it, and a page never holds a throttled NPC. The engine writes it each tick, and a game never writes it.